You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jerry Jalenak <Je...@LABONE.com> on 2004/03/29 20:19:48 UTC
[OT] request object w/ response.sendRedirect
All,
If I remember correctly, when you use a response.sendRedirect() there is a
new request created and passed. Is there anyway to place something in this
new request before it actually gets sent? I've been googling all morning
trying see if there is a way of doing this, without much success. Do any of
you guru's out there have any ideas?
Thanks.
Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
jerry.jalenak@labone.com
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: securityincidentreporting@labone.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT] request object w/ response.sendRedirect
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
Jerry, the redirect is just a url to a new resource of some sort, usually a
response. The simple answer to your question is to put whatever you want
in the response object to which the user is redirected. If, however,
whatever you want to provide in the response object was somehow in the
initial request object, which was redirected, and cannot be reacquired in
the new response object through normal means, such as an <img> tag, then
use a database or something that maintains the original data. I am not
sure but it sounds like you may be confusing request and response
objects. I probably am the one confused, but let's see. Just trying to be
helpful.
Michael McGrady
At 10:19 AM 3/29/2004, Jerry Jalenak wrote:
>All,
>
>If I remember correctly, when you use a response.sendRedirect() there is a
>new request created and passed. Is there anyway to place something in this
>new request before it actually gets sent? I've been googling all morning
>trying see if there is a way of doing this, without much success. Do any of
>you guru's out there have any ideas?
>
>Thanks.
>
>Jerry Jalenak
>Development Manager, Web Publishing
>LabOne, Inc.
>10101 Renner Blvd.
>Lenexa, KS 66219
>(913) 577-1496
>
>jerry.jalenak@labone.com
>
>
>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: securityincidentreporting@labone.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT] request object w/ response.sendRedirect
Posted by Craig McClanahan <cr...@apache.org>.
Bill Siggelkow wrote:
> Hmm ... well, the actual new request is generated by the browser when
> it processes the "redirect" response. You should be able to add
> parameters to the query string, however.
>
Or, you can store the data you need later in the session.
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT] request object w/ response.sendRedirect
Posted by Bill Siggelkow <bi...@bellsouth.net>.
Hmm ... well, the actual new request is generated by the browser when it
processes the "redirect" response. You should be able to add parameters
to the query string, however.
Jerry Jalenak wrote:
> All,
>
> If I remember correctly, when you use a response.sendRedirect() there is a
> new request created and passed. Is there anyway to place something in this
> new request before it actually gets sent? I've been googling all morning
> trying see if there is a way of doing this, without much success. Do any of
> you guru's out there have any ideas?
>
> Thanks.
>
> Jerry Jalenak
> Development Manager, Web Publishing
> LabOne, Inc.
> 10101 Renner Blvd.
> Lenexa, KS 66219
> (913) 577-1496
>
> jerry.jalenak@labone.com
>
>
> 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: securityincidentreporting@labone.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org