You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Thomas <jt...@vitria.com> on 2000/12/21 20:00:20 UTC
Ctx( /awi ): 404 R( /awi + /awi/performer/pages/Holder.jsp + nul
l) JSP file not found
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:Craig.McClanahan@eng.sun.com]
Sent: Thursday, December 21, 2000 10:25 AM
To: tomcat-user@jakarta.apache.org
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