It's done in web.xml. You can use a url-mapping statement in the
file. That may not be exactly right, but it's close. I think there's
an example in the sample webapps included in Tomcat. If not,
check the latest servlet documentation from Sun.
Best Regards,
Jason Koeninger
J&J Computer Consulting
http://www.jjcc.com
On Wed, 01 Aug 2001 17:14:12 -0700, Dominic Nagar wrote:
>
>Is there a way in Tomcat to alias a servlet? For example, if I have a
>servlet called 'blah', how can I configure tomcat such
>that I don't have to say
>
>servlet/blah in my URL. All I want to access is 'blah'.
>
>
>
>
>--
>Dominic Nagar
>Release Engineer
>NOVO
>Relationship Architects for e-Business
>
>Voice 415-875-7123 | Fax 415-875-7001
>http://www.novocorp.com
>
>
>