Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:56
jsp & struts, url rewrite problem
Poster: Johan_2003
Dated: Tuesday November 18 2003 - 15:50:40 GMT
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
HttpServletResponse.encodeURL
Poster: ssadler
Dated: Saturday November 22 2003 - 18:41:27 GMT
Run your URL thru HttpServletResponse.encodeURL() and let is escape all of the special-character nastiness.