| Article: |
Using the Validator Framework with Struts | |
| Subject: | Can i change the return type of custom validator method to String or some other | |
| Date: | 2005-08-11 11:48:38 | |
| From: | J2ee_mine | |
|
Hi ,
|
||
Showing messages 1 through 1 of 1.
-
Can i change the return type of custom validator method to String or some other
2006-09-07 05:32:22 oreillybhupathi [View]
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?


