The following is a snippet from the Jakarta-Tomcat configuration and
testing documentation:

Once you compile HelloServlet.java, put HelloServlet.class in
install_dir/webapps/ROOT/WEB-INF/classes. After compiling the code,
access the servlet with the URL http://localhost/servlet/HelloServlet
... You should get a simple HTML page that says "Hello". If this URL
fails but the test of the server itself succeeded, you probably put the
class file in the wrong directory.

I've followed the example and everything is working up to the point
above.   I compiled the java code and it compiled without a hitch, but I
do get a 404 error when I try the URL. The test of the server did
succeed.  I placed the class file into the folder as indicated.   Is the
documentation correct?  Where does the folder "servlet" get involved?
What am I doing wrong?

Let me know,  thx.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to