mapping.getPath() works for me, you just have to find a way to access it in 
your JSP...

you might be able to do that with:

requestScope['org.apache.struts.action.mapping.instance'].path

or better just set it to a variable in your form (reset method) or action.

Regards,
Abdullah

-----Original Message-----
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 30, 2005 12:35 PM
To: Struts Users Mailing List
Subject: How to get the original URI from taglib?


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to