I think that if you name your validation file as follows it will only trigger 
for the given method.

SomeAction-<method>-validation.xml

For the "saveFile" method you would have:

SomeAction-saveFile-validation.xml

Todd Kofford
tkoff...@ku.edu
________________________________________
From: Alireza Fattahi [afatt...@yahoo.com]
Sent: Tuesday, July 09, 2013 8:16 AM
To: Struts Users Mailing List
Subject: by pass the validation

Hi,
When I put SomeAction-validation.xml nead an action class, the validation is 
always checked before execute method.
If I have more than one method in the action, will the validation execute for 
them too ?! Is there any way that I can configure which methods should by pass 
the validation



~Regards,
~~Alireza Fattahi


________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to