Depending on how you want it, you can use EL like -
${request.requestURI}
or, if you are talking OGNL, try -
<s:property
value="%{#context['com.opensymphony.xwork2.dispatcher.HttpServletRequest'].requestURI}"/>
-Wes
On Sun, 2008-08-03 at 23:42 -0400, [EMAIL PROTECTED] wrote:
> Hi,
>
> Is there a way to get current page's url in struts2?
>
> e.g. suppose a login page's url is http://.../<context
> name>/login_input.action, how to get the url in that page?
>
> JavaScript is not allowed.
>
> Thanks.
>
> ---------------------------------------------------------------------
> 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]