RE: [s2] no result defined error after failed validation - can someone help?

2007-07-10 Thread petchia
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.Prepar

RE: [s2] no result defined error after failed validation - can someone help?

2007-07-05 Thread Wei Xu
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 whe