tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <>
Subject Re: creating a directory under webapps
Date Fri, 01 Nov 2002 21:17:37 GMT
This is because the invoker servlet mapping is
commented out by default in Tomcat 4.1.12.

There are several ways of dealing with this.

1. Remove the comments around the invoker servlet
mapping in web.xml

<!-- The mapping for the invoker servlet -->

This is not recommended since a malicious person could
then invoke anonymous servlets on your Tomcat

2. Add the following to your application web.xml file.

<!-- trying the invoker servlet -->

This has the same security concerns as item 1, but it
is now limited to your application and not Tomcat as a

3. Add a servlet mapping for each servlet in your
application.  This means that you will no longer have
anonymous servlets.  An example is given below.


<!-- servlet mapping -->

I ran into this same problem when moving from 4.0.x to

Hope this helps.


just my two cents . . . .

Do you Yahoo!?
HotJobs - Search new jobs daily now

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

View raw message