Set them up in the web.xml file in teh WEB-INF dir for your app:
<servlet-name>
myname
</servlet-name>
<servlet-class>
MyServlet
</servlet-class>
<servlet-mapping>
<servlet-name>
myname
</servlet-name>
<url-pattern>
/myname
</url-pattern>
</servlet-mapping>
Have a look at web.xml in the examples/WEB-INF dir to see how to set it up.
> -----Original Message-----
> From: Andreas Tirok [mailto:[EMAIL PROTECTED]]
> Sent: 10 July 2001 15:32
> To: [EMAIL PROTECTED]
> Subject: are there servlet aliases
>
>
> Hi all,
>
> may I use aliases for servlets?
>
> With Jserv I can use
>
> servlet.WebBILL_MainMenu.code=beusen.bill.MainMenuServlet
>
> that /servlet/WebBILL_MainMenu
> refer to (/servlet)/beusen/bill/MainMenuServlet
>
> How can I do this with tomcat?
>
> Thx
>
> andy
> --
> -------------------------------
> mailto:[EMAIL PROTECTED]
> fon: +49 30 549932-37
> fax: +49 30 549932-21
>