Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache -> Tomcat servlet problem

 
Jason Harms
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
I was hoping someone would have a quick fix for this issue.
Scenario:
Apache 2.0.43 - Port 8000
Tomcat 4.0.3 - Port 8080
Through Apache and Tomcat, I can run example Tomcat JSP and servlets just fine.
Ex: http://localhost:8080/examples/servlets
http://localhost:8000/examples/servlets
http://localhost:8080/examples/jsp
http://localhost:8000/examples/jsp
All work.
My own Tomcat servlet works from ROOT directory:
http://localhost:8080/servlet/MyServlet
Apache servlet does not work (gives HTTP 404 not found error):
http://localhost:8000/servlet/MyServlet
Any ideas??
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic