Hi
I have created a chapter01 directory under
C:\jakarta-tomcat-4.1.18\webapps
Next, I created a WEB-INF directory under C:\jakarta-tomcat-4.1.18\webapps\chapter01
I developed a HelloWorldServlet, the code is as follows:
I compiled the
servlet and copied it under C:\jakarta-tomcat-4.1.18\webapps\chapter01\WEB-INF\classes
The C:\jakarta-tomcat-4.1.18\webapps\chapter01\WEB-INF also has web.xml
I started the
tomcat as follows:
C:\jakarta-tomcat-4.1.18\bin>startup
I opened the browser and typed the following url
http://localhost:8080/chapter01/servlet/HelloWorldServlet I got the following response:
description The requested resource (/chapter01/servlet/HelloWorldServlet) is not available.
What must be the reason?
Thanks
Ravi
SCJP, SCJD, SCWCD, SCBCD, SCEA