tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: invoker servlet in Tomcat 3.2
Date Mon, 04 Dec 2000 01:01:41 GMT
"Debra Mendelson, CCE" wrote:

> Is there a way to define an application that will run any named servlet if
> it can be found in the classpath, in Tomcat 3.2.  In other words does the
> invoker servlet still exist, does it have a replacement, or does an
> application need to write their own (and has anyone written one)?

The "invoker" capability exists, but it is no longer done with a servlet.

In the server.xml file, you will see an entry like this:

     debug="0" prefix="/servlet/" />

which installs a "request interceptor" that provides the same sort of capability
that was provided by the invoker servlet in Tomcat 3.1.  As you might gather,
you can change the prefix string that is being matched by changing the value of
the "prefix" attribute.

Craig McClanahan

View raw message