struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From taltun <tunca...@gmail.com>
Subject Prevent persisting data when validation fails
Date Mon, 20 Jul 2009 09:42:20 GMT

When submitting a form using manual validation in my action. Even when the
validation fails and the action method supposed to be called is not called
at all, the dirty data is persisted ?

How can I prevent data from being persisted if the validation fails ?

Note:  I use prepare method to load e.g an user object from a
manager/service. And the data relates to the user object that is about. 

-taltun
-- 
View this message in context: http://www.nabble.com/Prevent-persisting-data-when-validation-fails-tp24566713p24566713.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message