I am trying to complete a simple Hello World
servlet example.
I have installed
Tomcat 5.5 and the relevant
java kits so that I can now view the Tomcat main page from
http://localhost:8080/. I have followed my book (Jess in Action) example and created the directory structure:
Tomcat 5.5\webapps\Hello\WEB-INF\classes
and added a web.xml file to the WEB-INF directory.
I have placed my Hello.java file in the classes folder and successfully compiled it so I assume my classpaths are all correct.
However, when I view the page
http://localhost:8080/Hello/servlet/Hello all that is displayed is:
HTTP Status 404 - /Hello/servlet/Hello
type: Status report
message; /Hello/servlet/Hello
description: The requested resource (/Hello/servlet/Hello) is not available.
Can anybody see if I have missed something?
Thanks