You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pae Choi <pa...@earthlink.net> on 2001/04/23 18:31:06 UTC

Re: URL to catch servlets

No need to modify the TC. Just configure it in server.xml and httpd.conf.


Pae


> Hi all,
>
> I'm using Tomcat 3.2.1 with Apache on WinNT. I have defined in the
>server.xml conf file the directory I wanted to put my servlets. I named it
>workDirectory. All my servlets are in the subdirectory:
>workDirectory/web-inf/classes/ and I can access them by
>http://localhost/workDirectory/servlet/nameOfServlet.
> What I would like to do is to access them by the following URL:
>http://localhost/workDirectory/nameOfServlet
> Does anyone know which modifications I have to do in the Tomcat
>Configuration to do this?
> Thanks for help
> David.
>
>David DELGRANCHE
>ddelgranche@sogitec.fr
>Tel: 02.99 05.34.25
>Fax: 02.99.05.34.05
>Sogitec Industries
>24, Avenue Lavoisier
>ZI du Champ Niguel
>35174 BRUZ CEDEX
>
>
>