[EMAIL PROTECTED] wrote:
Hi,
We have an application that does the following ( we use struts 1.2.4, tomcat 5.0.28, jdk 1.4.2)

a) user requests /x/y/action.do?x=1

b) the action executes then JSP forwards (via ActionForward) to /x/y/somefile.jsp

c) the resulting JSP page calls request.getRequestURL(). It returns /x/y/action.do (which is what we expect)



We just upgraded Tomcat to 5.5.9 and to jdk 1.5, (struts still the same) now the behavior has changed.

a) user requests /x/y/action.do?x=1

b) the action executes then JSP forwards (via ActionForward) to /x/y/somefile.jsp

c) the resulting JSP page calls request.getRequestURL(). It returns /x/y/somefile.jsp (instead of action.do)

Our app is broke because of this, any ideas?


Read section SRV.8.4 of the Servlet specification. 5.0.28 was not following the spec. 5.5.9 is.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to