Tom K.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Halil AKINCI
Sent: Friday, April 19, 2002 1:35 AM
To: [EMAIL PROTECTED]
Subject: Deploying web application to tomcat

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 ;
 
 
but I received an error message (HTTP404- Page not found).
 
How can I run my servlet? Can anyone help me?

Reply via email to