struts2 validate

Posted by teehoo on Stack Overflow See other posts from Stack Overflow or by teehoo
Published on 2010-05-03T11:30:11Z Indexed on 2010/05/03 11:38 UTC
Read the original article Hit count: 299

Filed under:
|
|

In Struts2 you can change the method used for execution for an action by changing the method attribute in the following line:

<action name="registerVal" class="cz.vutbr.fit.pishotel.model.action.Register" method="execute">

Is it possible to change the validation method used as well, or is the validate method name hardcoded.

© Stack Overflow or respective owner

Related posts about struts2

Related posts about validation