Greetings!
This has got to be so easy I'm missing something. :-((
I just installed the latest releases of Apache and Tomcat. All of the
examples in Tomcat work great.
I copied the HelloWorldExample to /webapps/apress/WEB-INF/classes/
I put this in the server.xml file:
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Context path="/apress" docBase="apress" debug="9" reloadable="true" />
I put this in the web.xml file in WEB-INF
<web-app>
<servlet>
<servlet-name>login</servlet-name>
<servlet-class>chapter2.login</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>HelloWorldExample</servlet-name>
<servlet-class>HelloWorldExample</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
</web-app>
Yet when I http://localhost:8080/apress/servlet/HelloWorldExample
I get HTTP Status 404
What's the easy part I'm missing?
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>