(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 HTTP request" I think this appends : When a forward is used, the RequestDispatcher object updates the request, to put the "forwarded" URI : (from javadoc) "For a RequestDispatcher obtained via getRequestDispatcher(), the ServletRequest object has its path elements and parameters adjusted to match the path of the target resource". So I don't this it is possible to get the "as in browser" URI. Nico. > > (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 Jain > > > -------------------------------------------------------------------- - > 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]