I am not sure about Tomcat, but JRUN has it's own directory
/Allaire/JRUN/servers/default/default-app where the html/JSP files reside.
Nonetheless, Tomcat has a config (.conf/.ini etc) file which will define the
rootdir.  Open this in your editor and search for rootdir.  This will tell
you where to begin your search.  There will probably be a "servlets"
directory somewhere beneath the defined root directory

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of June
Sent: Tuesday, July 10, 2001 8:53 AM
To: [EMAIL PROTECTED]
Subject: After installation of the Apache web server and the Tomcat


Hello all,

I think I successfully installed the Apache web server 1.3.20 and the tomcat
3.2.2.  When I start the Apache, I get "apache/1.3.20(win32) tomcat/1.0
running.." message and, when I start the tomcat, I get "Starting Tomcat in
new window."

Files I am trying to run are HTTPGetServlet.html and HTTPGetServlet.java.

I saved the HTTPGetServlet.html in "htdocs" folder and saved
HTTPGetServlet.class in "tomcat/webapps/ROOT/WEB-INF/classes" folder.  When
I click a button the the HTTPGetServlet.html page(yes I can see that page by
typing localhost:8080/HTTPGetServlet.html), I think it should run the
HTTPGetServlet.class, but I get this 404 error message instead.  I have this
feeling that I may have saved the servlet class file in the wrong folder,
but, arrrgh, what do I know......  I hope the installation bit was at least
successful.

Please tell me what I am doing wrong, and what is the right way..

Thanks a lot.

June
 ������*��{&������jض���ɨ��N���r�z�u� [�+�ꍫ��fv)�� {y�ʇ���zȞ�HD,D51 $
�Ƚ�����+�6j�r�j� ��ǾW {���E뺷� ��j��w���۶�z�z��ם�zʭdž�,�
�HDU �i��i��0�[(~�(����楳��z����

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to