Susan,

since the request is being forwarded (and not redirected) , then it (the
request) still contains the invalid user input and although the form is
being reset, since the request still has the user input, the form fields
should be repopulated with the users original (incorrect) values.

robert

> -----Original Message-----
> From: Susan Bradeen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 17, 2003 8:23 AM
> To: Struts Users Mailing List
> Subject: Display values after validation (was RE: action input)
>
>
> But by using an action path for input instead of a JSP, isn't the
> ActionForm reset, so you no longer have your form values to show in the
> JSP again? How do you redisplay the incorrect values the user typed into
> the JSP?
>
> Susan Bradeen
>
> On 01/16/2003 03:22:14 PM "Mark Galbreath" wrote:
>
> > Try it and see.
> >
> > input is the application-relative path to the input form to which
> control
> > should be returned if a validation error is encountered and you have to
> > specify the name attribute of the form bean associated with the action.
> >
> > Mark
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 16, 2003 2:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: action input
> >
> >
> > <action path="/myAction" type="fully.qualified.action.class.name"
> > input="mypage.jsp">
> >
> >
> >
> > Can I set input="myAction2.do"?
> >
> >
> >
> > Regards,
> >
> >
> >
> >
> >
> >
> >
> > PQ
> >
> >
> >
> > "This Guy Thinks He Knows Everything"
> >
> > "This Guy Thinks He Knows What He Is Doing"
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to