Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

validation approach

  Asked By: Jeff    Date: Oct 26    Category: Java    Views: 741
  

I want to know good server side validation approach for
validating the user entered data against the data in the database. For
example i am writing an application to transfer money from user
account to some account. Now when the user enters certain amount to
transfer the money to other account, i want to perform server side
validation to verify whether user has sufficient balance to execute
the money transfer. I want to know is there any pluggable validation
framework to perform such server side validation.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Garry Sanchez     Answered On: Oct 26

One of the most know frameworks for validation  is
http://jakarta.apache.org/commons/validator/

Look at the sample at below address:
wiki.apache.org/jakarta-commons/ValidatorExamples

Vlidation has good  integeration with struts.

I myself prefer to make some AJAX validation in this situation, it
makes better user  Interface and less page submits. I have seen some
samples of AJAX integreted in Struts-Layout UI components, which seems
to be easy to use.

 
Didn't find what you were looking for? Find more on validation approach Or get search suggestion and latest updates.




Tagged: