tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daxin Zuo" <d...@techexcel.com>
Subject How to make Apache direct servlet class to Tomcat
Date Wed, 28 Apr 2004 17:45:36 GMT
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


Mime
View raw message