Hi,
I have installed the 'awi' application under webapps (webapps/awi/...). No special entries were
made in server.xml. Finding that when a servlet forwards to "/awi/..../xyz.jsp" the page is not found. Any suggestions?
--
Thanks in advance
Jacob
-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 10:25 AM
To: [EMAIL PROTECTED]
Subject: Re: WEB.XML
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