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 reenter the data.
Hernán J. González http://hjg.com.ar/ On Mon, Nov 3, 2008 at 7:59 AM, Harden ZHU <[EMAIL PROTECTED]> wrote: > 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 PROTECTED] > > -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]