Zsolt wrote:
Hi,
How can I figure out the origial URI (from a JSP taglib). I have tried
request.getPathInfo() and request.getRequestURI() but I get wrong values.
For example if my URI was http://localhost:8080/abcdef.do I would like to
get /abcdef.do.
I use tc-5.5.12.
Zsolt
The short answer is: it depends :-)
To be precise, it depends on how the request was processed up to the
point where you want to access the original URI. It turns out, there
isn't a reliable way to do this unless you can make certain guarantees
about what includes and forwards may have happened already.
I had the same question a few days ago. See that thread for more details:
http://www.mail-archive.com/user@struts.apache.org/msg36082.html
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]