The Resin file servlet has the server-name "resin-file".  You can check 
the app-default.xml for these types of default mappings.

Serge Knystautas
Lokitech >> software . strategy . design >>
p. 301.656.5501

Ioannis Cherouvim wrote:
> Hello
> 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:
> <servlet-mapping><servlet-name>default</servlet-name><url-pattern>*.swf</url-pattern></servlet-mapping>
> <servlet-mapping><servlet-name>default</servlet-name><url-pattern>*.html</url-pattern></servlet-mapping>
> <servlet-mapping><servlet-name>default</servlet-name><url-pattern>*.htm</url-pattern></servlet-mapping>
> 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?
> thanks,
> Ioannis

resin-interest mailing list

Reply via email to