You need a <servlet> block to define a servlet with the name default.
This should come before <servlet-mapping>


Take a look at the DirectoryServlet in resin.conf as an example.


On 3/8/07, Ioannis Cherouvim <[EMAIL PROTECTED]> wrote:


I have a webapp which uses a servlet to catch all urls for processing
(front controller).
The pattern for this servlet is: <url-pattern>/</url-pattern>

Before that I need to tell the container that all static content will
pass from the default servlet (or fileservlet in resin).

In tomcat and jetty I do that using:




But when I try that in resin I get:
WEB-INF/web.xml:89: `default' is an unknown servlet-name.
servlet-mapping requires that the named servlet be defined in a
<servlet> configuration before the <servlet-mapping>.

I also tried 'file' instead of 'default' as I think that the
fileservlet of resin is called 'file', but no luck.

Any ideas?


resin-interest mailing list

resin-interest mailing list

Reply via email to