Re: Non standard url parameter -- when jsessionid appended [SOLVED]

2007-03-05 Thread Eric Rank
Thanks Chris, You're right! I did run into that exact same problem. I can add a third solution to the ones you offer. The struts 2 url tag has an "encode" attribute. When you do: The jsessionid is omitted from the generated path. However, this should be used with care, because it remov

Re: Non standard url parameter -- when jsessionid appended [SOLVED]

2007-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, Eric Rank wrote: > Solved this problem. > > By setting the DefaultType directive to "text/html" in Apache's > httpd.conf, the pages with urls containing the appended ";jsessionid" > display as html, not plain text. > > I should have thought of

Re: Non standard url parameter -- when jsessionid appended [SOLVED]

2007-03-05 Thread Eric Rank
Solved this problem. By setting the DefaultType directive to "text/html" in Apache's httpd.conf, the pages with urls containing the appended ";jsessionid" display as html, not plain text. I should have thought of that before :-) Thanks Eric. On Mar 5, 2007, at 2:32 PM, Eric Rank wrote:

Re: Non standard url parameter -- when jsessionid appended

2007-03-05 Thread Eric Rank
Thanks Michael, I was just reading up on the servlet spec and you're right, the jsessionid is not a regular query parameter. Everything that's happening is as according to spec. The redirection to the same page when the session cookie is set would work, but only for those who have session

Re: Non standard url parameter -- when jsessionid appended

2007-03-05 Thread Michael Jouravlev
From servlet engine point of view, jsessionid is not a query parameter, you can verify that by calling getParameter or getParameterMap on request object, jsessionid is not there. To my mind, the simplest thing one can do is to get rid of jsessionid parameter. To do this you need to have cookies

Non standard url parameter -- when jsessionid appended

2007-03-05 Thread Eric Rank
Happy Monday everyone. I have a question for you. Hopefully it doesn't go too far off track. When I'm using the struts url tag (struts 2) to generate a link, I get a non standard url parameter, ";jsessionid" appended on the first visit with a new browser session. It seems that this occurs w