Hi All,

There is a way out! You can access the orginal request URI by accessing 
"special" request attributes. Those attributes are, for example:

avax.servlet.forward.request_uri
javax.servlet.forward.context_path
javax.servlet.forward.servlet_path
javax.servlet.forward.path_info
javax.servlet.forward.query_string 

Have a look, for example at:

http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=18&t=009823

or just google  around.

HTH,
Pawel

Antonio <[email protected]> wrote on 12/12/2008 12:18:44:

> 2008/12/12 De Bakker, Bjorn <[email protected]>:
> > Is it possible to get the complete request url if you're using 
> tiles?  ${pageContext.request.requestURL} only gives me a link to 
> the template JSP file.
> 
> I don't think so. Tiles, as a first step, makes a
> RequestDispatcher.forward, and this overwrites the request URL.
> 
> Antonio

Reply via email to