| Sign In/My Account | View Cart |
| Article: |
Using the Validator Framework with Struts | |
| Subject: | Can i change the return type of custom validator method to String or some other | |
| Date: | 2006-09-07 05:32:22 | |
| From: | oreillybhupathi | |
|
Response to: Can i change the return type of custom validator method to String or some other
|
||
| u will create error objects in Validate(),then they r added to Action Errors class object which is return type of validate()...if u return string or anyother datatype u have to change code in validate() and html:errors(it will show list of error messages ) in JSP page.....suppose if u want to return integer value and that has to be done but in jsp,hw to display that error message? | ||