Hi,

Normally, you have to put your servlet in myapplication\Web-inf\Classes
and you can use http://myserver/myapplication/servlet/myservlet
to call your servlet
and that without any modification in web.xml.
You must just add the context in your server.xml like :

        <Context path="/myapplication" 
                 docBase="C:\Webserver\myapplication" 
                 crossContext="true"
                 debug="0" 
                 reloadable="true" 
                 trusted="false" > 
        </Context>              

I hope that it can help you

Best regards,

Thierry

-----Message d'origine-----
De : Kaustubh [mailto:[EMAIL PROTECTED]]
Envoy� : lundi 14 janvier 2002 10:44
� : [EMAIL PROTECTED]
Objet : Deploying Servlets on Tomcat


Hi,
I am not able to deploy a servlet on Tomcat 4 on port 80 inspite of making
necessary changes to server.xml, web.xml
and so on and so forth.
I have my web application in a directory called chatservlet.
Can anyone please tell me the step-wise instructions to make this thing run.
i am using Winnt, IIS & Tomcat4 on WinNT....

Thanks,
Kaustubh.

___________________________________________________________________________
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

___________________________________________________________________________
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