Ted, I have been questioning the value of the input property.  The input
property in Joyce's case is literally the submitting page, which I hardcoded
into the struts-config.xml.  If I came from another page, however, I will
STILL be forwarded to the uri of the input property.  I believe this is not
the behavior we want.  I believe what we want is to simply return where we
submitted, right?  There was a thread about this before I think.  Can you
shed some light on this?


----- Original Message -----
From: "Ted Husted" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 07, 2001 1:41 PM
Subject: Re: FW: Scope of the form


> 1. Yes. Using the standard forward or redirect Servlet services.
> 2. It is forwarded to the JSP or Action specified by the input property.
> 3. The form is disposed when the request is disposed, which would happen
> after the JSP was rendered.
>
> > Joyce Tang wrote:
> >
> >
> >
> > -----Original Message-----
> > From: Joyce Tang
> > To: '[EMAIL PROTECTED]'
> > Sent: 6/7/01 9:28 AM
> > Subject: Scope of the form
> >
> > I would like to verify my understanding on this thing.  Please let me
> > know if it is correct.  Thank you very much in advance.
> >
> > 1. Whenever the Action do a forward, the request is being forwarded.
> > 2. When the error happens, the request is forwarded back to the same
> > JSP
> > 3. If I define the scope of the form related to the Action class as
> > "request", then before the JSP page is rendered, the form is still in
> > the request, but after the JSP page is rendered,the form is taken out
> > from the request?
> >
> > Thanks a ton.
> >
> > Joyce
>

Reply via email to