Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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.


Poster: Maz
Dated: Sunday November 23 2003 - 22:53:15 GMT

I only work on the front-end but it was suggested to me to replace & with ; in urls, appears to me here that neither is perfect. Can anyone tell me is ; really better?

TIA
maz