tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: Sevlets not seen
Date Fri, 17 Jan 2003 18:00:29 GMT
Hello eric,

You are attempting to use the "invoker" servlet of which the
servlet-mapping is commented out, by default, in Tomcat's
conf/web.xml.  Uncomment that and it will work.


Friday, January 17, 2003, 10:25:41 AM, you wrote:

e> Greetings!

e> This has got to be so easy I'm missing something.  :-((

e> I just installed the latest releases of Apache and Tomcat.  All of the 
e> examples in Tomcat work great.

e> I copied the HelloWorldExample to /webapps/apress/WEB-INF/classes/

e> I put this in the server.xml file:

e>       <Host name="localhost" debug="0" appBase="webapps"
e>        unpackWARs="true" autoDeploy="true">

e>       <Context path="/apress" docBase="apress" debug="9" reloadable="true" />

e> I put this in the web.xml file in WEB-INF

e> <web-app>
e>         <servlet>
e>         <servlet-name>login</servlet-name>
e>         <servlet-class>chapter2.login</servlet-class>
e>         <load-on-startup>1</load-on-startup>
e>         </servlet>

e>         <servlet>
e>         <servlet-name>HelloWorldExample</servlet-name>
e>         <servlet-class>HelloWorldExample</servlet-class>
e>         <load-on-startup>1</load-on-startup>
e>         </servlet>
e> </web-app>

e> Yet when I http://localhost:8080/apress/servlet/HelloWorldExample

e> I get HTTP Status 404

e> What's the easy part I'm missing?

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

Best regards,

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

View raw message