tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: error 404 when calling servlet
Date Fri, 24 Jan 2003 14:09:31 GMT
You have two choices:

1. Comment in the <servlet-mapping> element for the invoker servlet in
$CATALINA_HOME/conf/web.xml.  This is commented out by default in tomcat
4.1.18 for security reasons.

2. Add a <servlet> and <servlet-mapping> element for your servlet class
into your web.xml.  (/mysystem/WEB-INF/web.xml).

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Syukri Jamaluddin []
>Sent: Thursday, January 23, 2003 11:26 PM
>Subject: error 404 when calling servlet
>i'm new tomcat user (using 4.1.18 in windows 98), got a problem with my
>-i've constructed my webapp class dir
>and i'd put a sevlet there named MyServlet.class (this servlet works in
>another web app server)
>-i've tried to call directly from browser
>"" and got response:
>HTTP Status 404 - /mysystem/servlet/MyServlet
>type: Status report
>message: /mysystem/servlet/MyServlet
>description: The requested resource (/mysystem/servlet/MyServlet) is
>-i've checked the server.xml file, it's all there (the Context element)
>and i've follow all the "App Developer Guide".
>-is there anything that i've missed to configure or any suggestion to
>make this thing works, please.
>thank you.
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message