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

Greenhorn
+ Follow
since Feb 07, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
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 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
13 years ago