struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wbyeats <ma...@emmedici.com>
Subject Re: Find out the old url after struts forwarding
Date Wed, 02 Aug 2006 21:19:46 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");

Nope, that's not what I want. I need this as I want to make a link to reload
page changing the language. So I want the url of the page I'm seeing. This
could be a .jsp and that is not a problem, but in case of a .do I would like
to have the .do url not the resultant .jsp url.
As I'm keeping the request I don't see why I can't have the original url...

mario
-- 
View this message in context: http://www.nabble.com/Find-out-the-old-url-after-struts-forwarding-tf2042007.html#a5622597
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
View raw message