How to create validations on struts based applications?
NOTE : [I][This question was asked by Ravi][/I]
Printable View
How to create validations on struts based applications?
NOTE : [I][This question was asked by Ravi][/I]
[QUOTE=Lokesh M;3991]How to create validations on struts based applications?
NOTE : [I][This question was asked by Ravi][/I][/QUOTE]
goto roseindia.net u can find good example on Struts and Struts validations
Cheers
Kailash
Use Validator framework to validate ur forms that reduces in writing code this can be done in two ways :
if we make attribute validate=true in action tag of action mapping then validations are performed on server side
if we make attribute validate=false in action tag of action mapping then validations are performed on Client side