Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Problem with URL-Rewriting in WebSphere

Roberto Flores

2007-01-15

Replies:

Greetings,

I can't use cookies since this app is for cellphones. On Tomcat there's no
problem, but in WebSphere enabling only url-rewriting causes 404 errors on
every page transition.

Upon further inspection, the jsessionid values generated by WebSphere are
drastically different than the ones used by Tomcat:

WebSphere (form)
...action="/mo/HT40121.do;jsessionid=0000XwB08FgkQm4GzTCmLGT7jU4:-1">

Tomcat (form)
...action="/mo/HT40121.do;jsessionid=CBDCF468D0874528995F835F16A2BF30

Clicking the submit button returns a 404. It seems the jsessionid is not
being parsed at all.

Can you tell me if this is a configuration problem in either the Struts side
or WebSphere?

Thanks for any help.
©2008 junlu.com - Jax Systems, LLC, U.S.A.