I just start reading manning book, but I
have problem running the HelloWorld !
servlet from the book.
the following are things I did :
1. download
tomcat 4.1.18 from apache, install it under c:\jakarta-tomcat-4.1.18.
2. setup some parameter in the autoexec.bat :
SET CATALINA_HOME=C:\jakarta-tomcat-4.1.18
SET JAVA_HOME=C:\jdk1.3.1_04
SET CLASSPATH=%CLASSPATH%;c:\jakarta-tomcat-4.1.18\common\lib\servlet.jar
3. when I start tomcat and point my browser to
http://localhost:8080, I can see the page indciating i have installed Tomcat successfully.
When I copy the chapter01 folder from accompanying CD into c:\jakarta-tomcat-4.1.18\webapps folder then point the browser to
http://localhost:8080/chapter01/servlet/HelloWorldServlet I got a mesg like
type Status report
message /chapter01/servlet/HelloWorldServlet
description The requested resource (/chapter01/servlet/HelloWorldServlet) is not available.
what did i do wrong ??? please help
[ January 21, 2003: Message edited by: chi Lin ]
[ January 21, 2003: Message edited by: chi Lin ]
[ January 21, 2003: Message edited by: chi Lin ]