tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "adi" <>
Subject URL patterns + directory listings
Date Fri, 20 Sep 2002 10:34:42 GMT

I encountered a very strange problem with servlet mappings.

I have the following entry in my web.xml file :




All I am doing here is passing all requests to the 'admin' directory
and its children to the default servlet with listings=true.
A simple trick to allow listings on specific directories.
The problem is that when I point the browser to:

I get the listings for http://localhost/MyContext/

Now, If I point the browser to http://localhost/MyContext/admin/admin/

... I get the listings for the right directory.

Any idea whats going on ?

And more than that:
If I change the pattern from /admin/* to /admin/
Everything works fine but than mapping will not kick off for sub-directories
of 'admin'

Will much appreciate any help.


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message