Hi all,

I'm using jdk1.2.2 and Tomcat-3.3.a. I have a servlet and I want to deploy it to 
tomcat. Therefore, I created a database directory in tomcat webapps directory, and I 
created following directorys. 

C:\Jakarta-tomcat-3.3a\webapps\database
C:\Jakarta-tomcat-3.3a\webapps\database\web-inf
C:\Jakarta-tomcat-3.3a\webapps\database\web-inf\classes
C:\Jakarta-tomcat-3.3a\webapps\database\web-inf\lib

I located my servlet in web-inf\classes directory, created a web.xml file in /web-inf 
directory, then wrote following line in server.xml file.

<Context path="/database" docBase="database" debug="0" reloadable="true" />

To run my servlet I use following URL ;

http://localhost:8080/database/DatabaseServlet

but I received an error message (HTTP404- Page not found). 
 
How can I run my servlet? Can anyone help me? 

Reply via email to