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
-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
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:
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
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
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
6 matches
Mail list logo