struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monkeyden <monkey...@gmail.com>
Subject Re: Find out the old url after struts forwarding
Date Wed, 02 Aug 2006 20:44:34 GMT
I suppose you could get the http referer but it would have nothing to do
with what you see in the browser address bar.

req.getHeader("Referer");



On 8/2/06, Wbyeats <mario@emmedici.com> wrote:
>
>
> Hi guys,
>
> I have this problem: I'm using websphere 4, wth JDK 1.3 and J2EE 1.2, and
> struts.
> I have set an action that after doing some coding would forward
> (redirect=false) to a jsp. In the browser url I correctly see the .do url.
>
> If in that page I ask for a request.getRequestURI() I get the url of the
> new
> jsp. How should I find out the old .do url as the request is still the
> same?
> Is there any way?
>
> Thanks a lot in advance!!
>
> mario
>
> --
> View this message in context:
> http://www.nabble.com/Find-out-the-old-url-after-struts-forwarding-tf2042007.html#a5621340
> Sent from the Struts - User forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message