i've been having the same problem.
i didn't find a solution yet
thanks
-----Original Message-----
From: Zhengan Cai [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 11:51 PM
To: [EMAIL PROTECTED]
Subject: Servlet path configuration in Tomcat/Apache
Dear Sir/Madam:
I have installed Apache 1.3.19 and Tomcat 3.2.1 to my Win2000. I configured
both Apache and Tomcat, set the path and classpath to the system. Apache can
run JSP and Servlets for the system provided test examples only.
Now I would like to add my own servlet files(in .class) to Tomcat. I created
a folder " mytest" at the same level of "examples" in the tomcat, ie:
c:\tomcat\webapps\examples
c:\tomcat\webapps\mytest
I added "mytest" in the "Server.xml" to let the system create new context.
In the "examples" test HTML file, the servlet path has been set up to "
../servlet/HelloWorldExample"...
Comparing to that, I setup my servlet path to "../servlet/xxxxx"
Now my problem is: I create a test HTML file with test button on it. When I
click the button, it says the page can't be found.
If you have time, Could you tell me:
1. How to put my own file(jsp, servlet, HTML) in the Tomcat or Apache?
2. How to configure the Tomcat or Apache for the Servlet path?
Thanks very much. Have a nice day!
Terry