wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Extra Path Info weirdness Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Extra Path Info weirdness" Watch "Extra Path Info weirdness" New topic

Extra Path Info weirdness

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41124
I have a servlet XYZ that processes extra path info. But whenever extra path info is actually part of the URL, the servlet isn't called by Tomcat, and a 404 error message appears instead.



is routed to the servlet just fine, while


is incorrectly handled by Tomcat internally, no matter what the path info consists of.

Both requests show up in the access log just fine. The problem is not with extra path info in general, since the RequestInfoExample that ships with Tomcat works fine. Has anyone ever seen this?

Ping & DNS - my free Android networking tools app
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

What are you using for a mapping?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41124
D'oh!. Thanks Ben, that was it. I had mapped to "/XYZ" instead of "/XYZ/*".
I agree. Here's the link: http://aspose.com/file-tools
subject: Extra Path Info weirdness
Similar Threads
my first servlet please help.
Apache -> Tomcat servlet problem
Problem in opening my Servlet in the browser...
Getting extra path info
Tomcat question