> So I don't this it is possible to get the "as in browser" URI.
You're right, just checked SRV.8.4. Strange that this had never bitten
me, of course I always use html:link @page or @action...
Perhaps one workaround would be to store the original request object as
a request attribute in the Acti
(Sorry for previous empty message : too quickly clicked !)
On tomcat, websphere and Weblogic I get CURRENT servlet (and JSP) URI
when using
request.getRequestURI(). API Javadoc says :
"Returns the part of this request's URL from the protocol name up to
the query string in the first line of the HT
> > (with request.getRequestURI() )i obtain /index.jsp and not
homeA.do
>
> getRequestURI() should return the exact address the client
requested,
> minus query string. Perhaps you set redirect to true? But then the
> address displayed in the browser should have been updated to
index.jsp
> as well
> (with request.getRequestURI() )i obtain /index.jsp and not homeA.do
getRequestURI() should return the exact address the client requested,
minus query string. Perhaps you set redirect to true? But then the
address displayed in the browser should have been updated to index.jsp
as well.
--
Eric J
Hi, i've a problem with url..how i retrieve the mapping of url in a jsp? for
example i have an jsp as index and an action-mapping as it:
now in another jsp call homeA.do and i see index.jsp in my browser, the url in
my browser is .../homeA.do but if i try to obtain this url (with
request.getReques
5 matches
Mail list logo