Hi,
I'm using jsp & struts to build my menu. I'm using url rewrite (html:rewrite) for building my url's. When my users are blocking cookies automaticly a session id is added to the url like this:
/iwt/algemeen/brochures.jsp;jsessionid=A6C2740FE57FAF195DE34027B96DA3AB?topNav=student
My problem is that the menu system recognizes the ; as the end of the url and so the session id and other information is lost when a user uses the menu.
Is there a workaround for this problem?
Johan
jsp & struts, url rewrite problem
-
- Advanced
- Posts: 11
- Joined: Tue Nov 18, 2003 4:43 pm
HttpServletResponse.encodeURL
Run your URL thru HttpServletResponse.encodeURL() and let is escape all of the special-character nastiness.