Matt you asked:  What OS, JDK and server are you using?
Ubuntu 6.10 operating system (built around the Linux kernel). jdk1.5.0_06 and
apache-tomcat-5.5.20

I've asked around and everyone I know says the behaviour is odd.To make matters
even spookier, according to my firefox 2.0.0.1 I am accepting cookies and I can
clearly see them. In subsequent requests more than one jsessionid is appended
one after the other.

Deleting the strutsmenu webapp from tomcat's work directory wasn't helping...
Before sending this off I did one last experiment. I downloaded a fresh new war
file and now I cannot reproduce this behaviour..mind you it is present in all my
other strutmenu apps. So I might have to just reconstruct them from scratch. The
problem is not present in any other web app.

So I haven't found the cause but actually found two interesting solutions:
"The solution is to create a servlet filter which will intercept calls to
HttpServletRequest.encodeURL() and skip the generation of session identifiers.
This will require a servlet engine that implements the Servlet API version 2.3
or later (J2EE 1.3 for you enterprise folks)."
See here ..interesting read ..I think
http://randomcoder.com/articles/jsessionid-considered-harmful

This site offers some additional advice using mod_rewrite:
http://boncey.org/2007_1_8_purging_jsessionid

I am hoping that this might interest the developer team. I studied Velocity
enough to learn that you cant just mix jsp code into Velocity..so I gave up
trying myself but mainly cause i don't know if the effort is worth while. What
do you think?





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
struts-menu-user mailing list
struts-menu-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to