Extract from web.xml
<servlet>
<servlet-name>webclient</servlet-name>
<display-name>webclient</display-name>
<servlet-class>com.mycompany.mmr.proxy.myservlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>webclient</servlet-name>
<url-pattern>/login.form</url-pattern>
</servlet-mapping>
This would work for URL
http://myserver/myapp/login.form
where myapp is the name of your war file under webapps'
Hope this points you in the right direction
Donie
-----Original Message-----
From: Chris Cayetano [mailto:[EMAIL PROTECTED]]
Sent: 13 February 2002 16:58
To: Tomcat Users List
Subject: RE: how-to: rename .../servlet/.... - using TC 3.2.3
Using Tomcat 3.2.3, but i'll see if it works. Thanks.
> -----Original Message-----
> From: David Smith [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 13, 2002 8:43 AM
> To: Tomcat Users List
> Subject: Re: how-to: rename .../servlet/....
>
>
> The default /servlet mapping is in $CATALINA_BASE/conf/web.xml.
> To override,
> just make a servlet mapping for your servlets in your apps local web.xml
> file. (Assuming TC 4 of couse)
>
> --David
>
> On Wednesday 13 February 2002 11:29 am, you wrote:
> > All,
> >
> > How would I go about renaming the alias /servlet so that I can use:
> >
> > eg.
> > http://myhost/exe/menu.main or
> > http://myhost/sBin/login.form or etc...
> >
> > Thanks
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>