-----Original Message-----
From: Murat Buyukkal ([EMAIL PROTECTED])
Sent: Tuesday, April 02, 2002 11:41 AM
To: EJB-INTEREST@JAVA. SUN. COM (E-mail)
Subject: RE: tomcat 3.3a

Halil,
 
open your server.xml file located in Tomcat/conf/ directory. Search for defined "<Context>" entries. For example context "/examples" is added by default. Find corresponding filepath for /examples context. You should deploy your servlet classes in "that directory\WEB-INF\classes". If your servlet is inside some packages you can can define URL path like http://localhost:8080/examples/servlet/package1.package2.YourServlet . Be careful "servlet" is the keyword and must be added after context path name for servlets (not for JSPs & HTMLs) and your context directory's path shouldn't contain sub-word "servlet" in it. Otherwise Tomcat's xml parser gives an error about this.
 
-----Original Message-----
From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 10:02 AM
To: [EMAIL PROTECTED]
Subject: tomcat 3.3a

Hi group,
 
I wrote a database servlet and I want to run my servlet using tomcat 3.3a. Where can I locate my servlet in tomcat's directory? When I connect the http://localhost:8080 I want to see my html page. Therefore I want to change server configuration. Can anyone help me?
  • Re: tomcat 3.3a Murat Buyukkal ([EMAIL PROTECTED])
    • Murat Buyukkal ([EMAIL PROTECTED])

Reply via email to