tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trieu, Jason T - CNF" <Trieu.Ja...@cnf.com>
Subject RE: How to make Apache direct servlet class to Tomcat
Date Wed, 28 Apr 2004 17:50:42 GMT
Have you set up URI mapping in your wokers2.properties file?

-----Original Message-----
From: Daxin Zuo [mailto:dzuo@techexcel.com] 
Sent: Wednesday, April 28, 2004 10:46 AM
To: Tomcat Users List
Subject: How to make Apache direct servlet class to Tomcat


I connected Apache 2.0.49 (port number 82) and Tomcat 5.0.19 (port
number
8008) with jk2. if my URL is http://localhost:82/myJSPPage.jsp
(myJSPPage.jsp is in Apache2/tomcat/webapps/ROOT), it is executed  as I
expected. if I use http://localhost:82/servlets/servlet/ServletTest2
(ServletTest2.class is in
Apache2\tomcat\webapps\servlets\WEB-INF\classes) , I got the error: page
cannot be found. If I use
http://localhost:8008/servlets/servlet/ServletTest2, it runs correctly.
So, Apache does not transfer the request to Tomcat if the page is a
servelt class. What configuration have I missed? Please. Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message