tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "X V Jay" <>
Subject Can't run servlets
Date Thu, 06 Nov 2003 07:04:13 GMT
I am a newbie, I have been unable to run a servlet. These are the steps 
I took...

1. I wrote a small test servlet.
2. I created a 'test' directory under webapps. 
3. Created WEB-INF in 'test' and put the testweb.class in classes dir.
4. Created a web.xml in WEB-INF

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

5. Tried to run the servlet form http://localhost:8080/test/servlet/abcd

Error displayed: The requested resource (/test/servlet/abcd) is not 

Is there anything which I have missed or done something wrong ?
Please help me.
Thank you

OS: XP Professional
Tomcat version: 4.1.27

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message