Re: struts2 validation failed method

2008-11-03 Thread hernan gonzalez
The quick answer: in the default configuration, when the validation fails the result INPUT (input) is returned. You frequently define a mapping for this action and result in your struts.xml which renders the original jsp (the input) so that the user can see the errors (eg: s:actionerrors /) and

struts2 validation failed method

2008-11-03 Thread Harden ZHU
Hi, I have Basic Validation. If validation failed, which method struts2 is calling? Can I define some method like in struts1 input? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: struts2 validation failed method

2008-11-03 Thread Nils-Helge Garli Hegvik
Hi! If you look at the relationship between the ValidationInterceptor [1] and the WorkflowInterceptor [2], you should be able to figure it out. [1] - http://struts.apache.org/2.0.12/docs/validation-interceptor.html [2] - http://struts.apache.org/2.0.12/docs/workflow-interceptor.html Nils-H On