From: Erik D. <dro...@id...> - 2006-11-02 21:24:55
|
Hi! I post here after talking with janb on #jetty. (Sorry about sending the email twice, I forgot the attachments.) Problem: A logged in user gets logged out after an 404 page not found has occoured (only a picture which is not available). This only happens when using jetty, not when using tomcat. When pictures are unavailable, the GET-request return av 404. _Afterwards_, the next navigation, jetty throws a 302, while tomcat does not. See attachments for output from Live Http headers. My system is a java web app based on acegi, spring and hibernate. I'm using maven 2.0.4 with maven-jetty-plugin 6.0.1. The sympthom disappears if I remove <error-page> <error-code>404</error-code> <location>/404.jsp</location> </error-page> from web.xml, but I want to handle 404-errors by this jsp-page. Any tips regarding what's happening? -- Sincerely regards Erik Drolshammer, username Sherriff on #jetty |