Hi,

Lets say I have an action and some of the properties being set on that action are to be validated which I can do a number of ways. Is there a way in Struts2 to tell the system not to valid the framework the first time the action is accessed:

[Turn validation off]
http://mydomain.com/wizard/mytest.action

The above page has a form with two fields param1 and param2. When I click submit this form gets submitted to:

[Turn validation on]
http://mydomain.com/wizard/mytest.action

This time if param1 and param2 were not specified. The user is taken back to INPUT and they see the error message.

Is the above possible in some Struts2 way of doing things?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to