Re: Redirect with slash appended
This is by design. See http://issues.apache.org/bugzilla/show_bug.cgi?id=32424 for an explanation. Mark Felix Röthenbacher wrote: Hi I have the problem that every time I access a servlet with a URL that is equal to a servlet's directory, Tomcat redirects me to an URL with a slash appended. E.g. I want to access /resources, and Tomcat redirects me to /resources/, which my servlet does not match. It expects to match to /resources. Is it possible to disable such redirects? I'm using Tomcat 5.5.7. Maybe it has something to do with the default servlet? Thanks Felix - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Redirect with slash appended
Hmm. Read that. It the bug does not actually answer Oliver's questions - specifically, if it's for the default servlet, why does it always get applied - and why is it not easily changed (with a /* filter)? It also doesn't help that Remy is needlessly rude and assumptive. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, 17 February 2005 7:38 a.m. To: Tomcat Users List Subject: Re: Redirect with slash appended This is by design. See http://issues.apache.org/bugzilla/show_bug.cgi?id=32424 for an explanation. Mark Felix Röthenbacher wrote: Hi I have the problem that every time I access a servlet with a URL that is equal to a servlet's directory, Tomcat redirects me to an URL with a slash appended. E.g. I want to access /resources, and Tomcat redirects me to /resources/, which my servlet does not match. It expects to match to /resources. Is it possible to disable such redirects? I'm using Tomcat 5.5.7. Maybe it has something to do with the default servlet? Thanks Felix - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Redirect with slash appended
Hi I have the problem that every time I access a servlet with a URL that is equal to a servlet's directory, Tomcat redirects me to an URL with a slash appended. E.g. I want to access /resources, and Tomcat redirects me to /resources/, which my servlet does not match. It expects to match to /resources. Is it possible to disable such redirects? I'm using Tomcat 5.5.7. Maybe it has something to do with the default servlet? Thanks Felix - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]