You can do it, but it's a little bit more work. 1) Set inputForward=true on the Controller 2) Convert your input attributes on the action mapping to refer to a mapping name. 3) Add a corresponding forward.
Example: <controller inputForward="true" /> <mapping ... input="input"> <forward name="input" path="/myform.jsp" redirect="true" /> </mapping> Paul On 9/19/07, abhiram <[EMAIL PROTECTED]> wrote: > > HII! i have a small doubt.. when i submit a form from a jsp called > LoginForm.jsp, and if the validation fails in the validate() method of the > ActionForm, I am being shown LoginForm.jsp, but with URL as LoginAction.do. > How to avoid this ? i want it to be shown as LoginForm.jsp. can we > redirect to input page after validation fails ? > > this is happening even after i refresh the page.. and even the error > message(the custom message we try to put in the input page when a validation > fails) doesn't go. > > please help. > thanks, > abhiram > > > --------------------------------- > Get the freedom to save as many mails as you wish. Click here to know how.