hi

i know its basic stuff but its worth checking once
again.

i am sure you need to save the .class file in your
tomcat/webapps/xyz/WEB-INF/classes and your .html in
your /webapps/xyz directory.

one more thing worth doing is to check your web.xml
file and see the alias name for your servlet matches
the one you gave in your .html file

vithal


> -----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


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

___________________________________________________________________________
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