> From: Nathan Potter [mailto:n...@opendap.org]
> Subject: Re: Tomcat returns HTTP status of 200 when
> HttpServletResponse.sendError() called.

>     <servlet-mapping>
>         <servlet-name>docs</servlet-name>
>         <url-pattern>/docs</url-pattern>
>     </servlet-mapping>

The above mapping is not useful; since it contains no wildcards, it can only be 
used as an exact match for the directory, and you've disabled directory 
listings.

> In my web.xml it simply doesn't work.

Are you seeing errors in the logs?  What are you trying that "doesn't work"?  
What errors are you seeing?

> It appears that no servlet is associated with
> /docs or /docs/*.

What leads you to that conclusion?

> Interestingly my IDE can't seem to find the class

Take the IDE out of the picture - run Tomcat by itself and see what happens.

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to