tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donie Kelly <donie.ke...@tecnomen.ie>
Subject RE: how-to: rename .../servlet/.... - using TC 3.2.3
Date Wed, 13 Feb 2002 18:26:16 GMT
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:cr_cayetano@yahoo.com]
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:dns4@cornell.edu]
> 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:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message