Jerry:

Maybe you are looking for something like request.setAttribute(String, Object)..?

Geeta

Jerry Jalenak wrote:

> Wendy -
>
> It can be something as simple as an error status, or as complex as a List
> object.  I can't use the session because where I am redirecting back to can
> be a second instance of Tomcat running on its own server, or even an ASP.Net
> application running under IIS.  So, I really need to put the object in the
> request, so the receiving 'page' can look at the request and determine if it
> got an error or not, and if not, pull the List object (or whatever it's
> called in ASP-land) and to something with it.
>
> Thanks.
>
> Jerry Jalenak
> Development Manager, Web Publishing
> LabOne, Inc.
> 10101 Renner Blvd.
> Lenexa, KS  66219
> (913) 577-1496
>
> [EMAIL PROTECTED]
>
> > -----Original Message-----
> > From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 29, 2004 12:38 PM
> > To: Struts Users Mailing List
> > Subject: RE: [OT] request object w/ response.sendRedirect
> >
> >
> > > From: Jerry Jalenak [mailto:[EMAIL PROTECTED]
> > > If I remember correctly, when you use a
> > > response.sendRedirect() there is a
> > > new request created and passed.
> >
> > Actually, the browser sends the request.  The redirect instructs the
> > browser to make a new request to the server, and Tomcat (I assume)
> > creates a new request object.  Is the thing you need to send something
> > you can place on the URL?  You can redirect to a URL with a
> > query-string
> > parameter, and you'll see that when the new request comes in.
> >
> > If you need to retain something large or complex, you'll probably need
> > to put it in the session so it will be there when the browser
> > sends its
> > request.
> >
> > --
> > Wendy Smoak
> > Application Systems Analyst, Sr.
> > ASU IA Information Resources Management
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> This transmission (and any information attached to it) may be confidential and
> is intended solely for the use of the individual or entity to which it is
> addressed. If you are not the intended recipient or the person responsible for
> delivering the transmission to the intended recipient, be advised that you
> have received this transmission in error and that any use, dissemination,
> forwarding, printing, or copying of this information is strictly prohibited.
> If you have received this transmission in error, please immediately notify
> LabOne at the following email address: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> 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]

Reply via email to