On Thu, May 14, 2009 at 10:47 PM, mule_user <s...@aol.com> wrote: > > 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?
Please ask user questions on the Struts user mailing list. The dev list is for the development of Struts itself. -- "We cannot change the cards we are dealt, just how we play the hand." - Randy Pausch --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org