Michael,
I simulated your situation in my machine and got the results correct. So please read the foll carefully.
1. Tomcat 3.1
2. Windows platform
3. created c:\java\code\basic
4. created c:\java\code\basic\WEB-INF dir
5. copy the foll code as SnoopServlet.java in my post above to c:\java\code\basic\WEB-INF\SnoopServlet.java and compile and keep the SnoopServlet.class file ready
6. save the foll as c:\java\code\basic\WEB-INF\web.xml
7. Edit c:\jakarta-tomcat\conf\server.xml file and add the foll at end of the file. Also note that c:\ is the dir where I installed timcat 3.1 Basically you have to edit ..\conf\server.xml file. So take care of this.
8. Now load the server fresh from dos prompt
9. From any browser type this.
[In my previous post I said as
http://localhost/servlet/snoop because I use the 80 (http) port and called invoked the SnoopServlet from ..root/WEB-INF/classes dir.So don't confuse with this. If you are using the default 8080 port STEP 9 will work. ]
10. You will get the output as following with 'Snoop Servlet' in BIG LETTERS.
Don't give up! Try it. Let's find out what's missing!

regds
maha anna
[This message has been edited by maha anna (edited January 23, 2001).]