tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: WEB.XML
Date Thu, 21 Dec 2000 18:24:52 GMT

Edson Carlos Ericksson Richter wrote:

> Anyone know why this is not working?
>
>     <servlet-mapping>
>         <servlet-name>
>             invoker
>         </servlet-name>
>         <url-pattern>
>             */servlet/*
>         </url-pattern>
>     </servlet-mapping>
>

Yes ... this URL pattern is not legal according to the servlet specification
<http://java.sun.com/products/servlet/download.html>.

You can only have a "*" wildcard at the end, not at the beginning, of a
pattern.  Further, servlet mappings are specific to a particular web
application, not global to multiple applications.

>
> Edson Carlos Ericksson Richter

Craig McClanahan

Mime
View raw message