I am intested in knowing how to turn automatic validation off? How?
Using javascript to set the flag is not accepted by us.

Also all my submission is also get (for some reasons in our project) 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Paul Benedict
Sent: Friday, January 25, 2008 12:15 PM
To: Struts Users Mailing List
Subject: Re: Can I use one action for displaying and submission (with
struts validation)

You can use this pattern:

* Turn automatic validation off.

* If your action was executed as a GET, branch to viewing logic.

* If your action was executed as a POST, branch to validation logic and
submission logic.

Paul

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

Reply via email to