I have to maintain Struts 1.1 application that will be running in WebSphere 5.1 (J2EE 1.3).
If struts-config.xml has an entry like: <forward name="success" path="/submit.do?my=Update"/> then request.getRequestURI() returns the query string In other words, if forward has request parameters, then request.getRequestURI() in Action class returns /MyProjWeb/submit.do?my=Update According to specification, getRequestURI() should not return query string. According to specification, getRequestURI() should return /MyProjWeb/submit.do only. However, noticing that Struts 1.1 application deployed in WebSphere 5.1., returns query string for getRequestURI(). On the contrary, if the same Struts 1.1 application is tested in WebSphere 6.1; then getRequestURI() call correctly returns /MyProjWeb/submit.do for the same forward with appended query string. WebSphere 6.1 behaves correctly according to specification. Is anyone familiar with this bevavior for forward with query string in WebSphere 5.1? -- View this message in context: http://www.nabble.com/getRequestURI%28%29-for-Struts-1.1-app-in-WebSphere-5.1-returns-query-string-if-query-string-is-appended-in-path-of-forward-in-struts-config.xml-tp23548705p23548705.html Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org