Servlets and Apache's Tomcat

I've compiled a simple Servlet flawlessly. However, the tomcat documentation doesn't tell me where I need to place my servlet class so I can view it via a webbrowser. I'm running Tomcat 4.0.1. I tried to use tomcat's online docs ( but they're "temporarily unavailable". Any help is greatly appreciated.


  • : I've compiled a simple Servlet flawlessly...
    Your class needs to be in yourapp/WEB-INF/classes.
    yourapps is the directory from server.xml

    If you haven't got the hang of server.xml yet try putting your servlet in TOMCAT_HOME/webapps/examples/WEB-INF/classes/

    Then from your browser use the URL

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion