This week's book giveaway is in the Go forum.
We're giving away four copies of Head First Go and have Jay McGavren on-line!
See this thread for details.
Win a copy of Head First Go this week in the Go forum!

Gary Conway

+ Follow
since Feb 07, 2006
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gary Conway

Thanks Ben, it's now working

Much appreciated
13 years ago
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 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?

13 years ago