You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by William Kaufman <WK...@viquity.com> on 2001/08/08 16:42:20 UTC
RE: Using Servlet in different path then /examples/servlets/
Try adding a <url-pattern> element to your web.xml. The servlet spec
details the format of web.xml:
http://java.sun.com/products/servlet/download.html
-- Bill K.
> -----Original Message-----
> From: Yuval [mailto:yuval@domainthenet.com]
> Sent: Wednesday, August 08, 2001 8:24 AM
> To: Tomcat-User (E-mail)
> Subject: Using Servlet in different path then /examples/servlets/
>
>
> Hi,
>
> How can I run servlet on my web server on different path than
> /examples/servlets/
> I tried to define:
> <Context path="/"
> docBase="C:/InetPub/wwwroot"
> crossContext="false"
> debug="0"
> reloadable="true" >
> </Context>
>
> and its not working.
>
> Regards,
>
> Yuval
> Domain The Net Technologies Ltd.
> 6 Weitzman Blvd.
> Ramat-Hasharon
> Israel 47211
> Tel: 972-3-5474443
> Fax: 972-3-5474446
> www.DomainTheNet.com
>
> “This email message and any attachments hereto are intended
> only for use by
> the addressee(s) named above, and may contain legally
> privileged and/or
> confidential information. If you are not the intended
> addressee, you are
> hereby kindly notified that any dissemination, distribution
> or copying of
> this email and any attachments hereto is strictly prohibited.
> If you have
> received this email in error, kindly delete it from your
> computer system,
> and notify us at the telephone number or email address
> appearing above.
> Thank you"
>
>