-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gabor,
On 11/28/11 9:28 AM, Gabor Gyorkei wrote: > I just upgraded from tomcat5.5 to 6, and everything works expect > one thing: links like "host/app/somthing.do;jsessionid=XYZ" does > not work. If I remove the jsessionid part, than struts works fine, > but with that tomcat answers a 302 temporarily moved message and > gives a link "host/app;jsessionid=XYZ" which is incorrect. May be I > changed something in the configuration, I don't know. Within the last 18 months or so, I switched from 5.5 -> 6.0 -> 7.0 and I'm also using Struts 1.x. I have never had such a problem, even when testing with cookie-based session-tracking disabled (which is what gets you the ";jsessionid=" stuff in your URL). I suspect that you have something misconfigured somewhere, or aren't properly doing redirects. Does this have anything to do with authentication and authorization, or are all redirects broken? > My question: there is a way of configuring tomcat's logger to tell > me why this 302 message was sent? You could write a Filter that wraps the request with an overridden sendError, sendRedirect, and setStatus methods that log stack traces. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7UNK0ACgkQ9CaO5/Lv0PAjDQCfQDNxaymfGKioLQIT0baOGNC0 +bgAnRNNO0JXnrjLTzSvLhngHgJ72D3T =V8U/ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org