I could able to run servlets in tomcat 4.1. I created a folder called webdev in webapps in that i created WEB-INF and classes. I stored web.xml in WEB-INF. as follows. webapps/webdev/WEB-INF/classes WEB-INF/web.xml I configured web.xml with servletname,servletclass between webapps tags. After restarting the server when i say http://localhost:8080/webdev/servlet/myservletfile It showing 404 Requested URI not found. I tried like the below also http://localhost:8080/webdev/myservletfile But still it is not getting. Let me tell anybody that tomcat4.1 have any bug in reading web.xml
--------------------------------- Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing