Yeah I am preparing for an interview . Is this true guys?? That we can not use validation framework we use in struts 1.0 in struts 2.0?
Joined: Nov 10, 2007
I've been readin online about using validation framework in Struts 2.0 and these are the changes I basically found from what we do normally in Struts 1.1. Please correct me if I am wrong.
1). Validation.xml file should be named as yourActionClass-Validation.xml 2). Validate=true is written in Jsp form tag 3). Error messages are written in the validation.xml file too within the <message tag> instead of using an Resources file.