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:51

How to put ";jsessionid" in an absolute URL


Poster: robich
Dated: Monday October 23 2006 - 10:48:27 BST

Hi all.

Browsing the forum, I've found that the way to escape the ";" character in an URL is wrapping the URL itself with single quotes.. that is writing, for example

Code:
with(milonic=new menuname("1")){
  aI("text=Go To My Page;[color=red]url=[b]'[/b]http://www.mysite.com/MyApp/myservlet;jsessionid=1E6FEC0D14D044541DD84D2D013D29ED?_option=XX[b]'[/b];[/color]");
...
}


in place of

Code:
with(milonic=new menuname("1")){
  aI("text=Go To My Page;[color=red]url=http://www.mysite.com/MyApp/myservlet;jsessionid=1E6FEC0D14D044541DD84D2D013D29ED?_option=XX[/color];");
...
}


Unfortunately, when I do this my URL is parsed as it represented a relative path instead of an absolute path, and the result is that clicking on the Menu Item the browser tries to send me to:

http://www.mysite.com/http://www.mysite ... _option=XX

instead of http://www.mysite.com/MyApp/myservlet;j ... _option=XX
!!

Has anyone been involved in the same or does anybody know how to get what I'm trying to do?

Thanks in advance for any help!!

Re: How to put ";jsessionid" in an absolute URL


Poster: maxico
Dated: Wednesday November 11 2009 - 17:20:18 GMT

Try this way

with(milonic=new menuname("1")){
aI("text=Go To My Page;url='/MyApp/myservlet;jsessionid=1E6FEC0D14D044541DD84D2D013D29ED?_option=XX';");
...
}