I was running under TomCat 5.5.14 for two years. I just upgraded to TomCat
5.5.23 (that's the latest version my host supports).

 

The 5.5.23 version seems to give static directories total precedence over
<url-patterns> defined in the web.xml. For example, in my application root,
I had a directory "/office" which contained static files and in my
application's web.xml I mapped a servlet to the url-pattern "/office". In
the older Tomcat this worked fine, matching the url-pattern if the URL was
exactly "/office" or the static content if the URL was "/office/something,"
but in the newer Tomcat the existence of the static directory causes the
url-pattern to be completely ignored. Is this the expected behavior or am I
missing something in the configuration that would give matching the
<url-pattern> precedence again?

 

Tad Woods

 

Reply via email to