> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: Servlet Mappings
> 
> My webapp is deployed as ROOT.

What's the directory structure under ROOT?  Is ROOT under your <Host>'s
appBase?  For that matter, what's the directory structure under appBase?

> If I chop all of the mappings out of the web.xml the image is 
> displayed.  With
>     <servlet-mapping>
>       <servlet-name>default</servlet-name>
>       <url-pattern>/images</url-pattern>
>     </servlet-mapping>
> alone in the web.xml the image is dispalyed.

I suspect that's because the DefaultServlet in conf/web.xml is handling
the request in both of the above cases.

> With
>     <servlet-mapping>
>       <servlet-name>default</servlet-name>
>       <url-pattern>/images/*</url-pattern>
>     </servlet-mapping>
> alone in the web.xml the image is not dispalyed.

Have you changed conf/web.xml at all?  Could there be any other mappings
in there getting in the way?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to