struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Kutny <m...@umc.com.ua>
Subject Re: Return to same JSP
Date Thu, 07 Nov 2002 12:42:43 GMT

 MR> Hi, If I return a non-empty ActionError from my validate method,
 MR> struts should return to the same JSP. This will happen if I specify
 MR> the input parameter for the action mapping.

 MR> Is this right ? It doesn't seem to work that way. Am I missing
 MR> something ?

You should use
return new ActionForward(mapping.getInput());

-- 
Max Kutny

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


Mime
View raw message