You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Veaceslav Chicu <cs...@genesys.ro> on 2003/02/26 09:56:08 UTC
how can I get request URI ?
Hi,
in browser I have http://localhost:9080/app/adm/listGroups.do
listGroups.do is directed to listGroups.jsp
in jsp <%= request.getServletPath() %> returns: /app/adm/listGroups.jsp
how can I retrive /app/adm/listGroups.do
I want original url from the browser
thank you,
Slavic
Re: how can I get request URI ?
Posted by Veaceslav Chicu <cs...@genesys.ro>.
in the browser http://localhost:9080/app/adm/listGroups.do
in jsp:
-------- <%= request.getServletPath() %>
-------- <%= request.getRequestURI() %>
results:
-------- /adm/listGroups.jsp -------- /app/adm/listGroups.jsp
it's also listGroups.jsp I want listGroups.do that is in the browser
other possibility ?
thanks,
Slavic
----- Original Message -----
From: "Gemes Tibor" <ti...@i-trade.hu>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, February 26, 2003 11:00 AM
Subject: Re: how can I get request URI ?
> Veaceslav Chicu wrote:
>
> >I want original url from the browser
> >
> >
> request.getRequestURI()
>
> Hth,
>
> Tib
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: how can I get request URI ?
Posted by Gemes Tibor <ti...@i-trade.hu>.
Veaceslav Chicu wrote:
>I want original url from the browser
>
>
request.getRequestURI()
Hth,
Tib
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org