Does this mean that errors and messages are stored in the session? If so, is
this configurable? I don't see why the errors would be stored in the session
by default.

-Bill


徐 伟 wrote:
> 
> Try this way, and it might works.
> 
> Make your action beans all implement "com.opensymphony.xwork2.Preparable", 
> and implement a method "prepare()" in your action beans just like this:
> public void prepare() throws Exception
> {
>   // Clear last error messages
>   clearErrorsAndMessages();
> }
> 
> Everytime when you get into these beans, all error messages are completely 
> removed in the cache. And this seems to be working in many conditions.
> 
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search! 
> http://search.msn.com/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-s2--no-result-defined-error-after-failed-validation---can-someone-help--tf4030311.html#a11527139
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to