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.
Jake 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: <mailto:[EMAIL PROTECTED]> e> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Best regards, Jacob mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
