After a request forward should request.getRequestURI() return the new servlet or the
original request? From my reading of the 2.3 spec. I think it should be the original
request which is what Jetty 4.0 returns, but Tomcat 4.0 returns the new servlet path
For example, calling a.jsp displays /a.jsp with jetty 4.0 and /b.jsp with tomcat 4.0.
servlet a.jsp:
<%@ page language="java" %>
<% request.getRequestDispatcher("b.jsp").forward(request, response);%>
servlet b.jsp:
<%@ page language="java" %>
<%= request.getRequestURI() %>
Which is right?
Andrew