tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Probst" <andpr...@gmx.net>
Subject Re: servlet path
Date Fri, 03 Jan 2003 20:40:32 GMT
Hi Vladimer,

look for servlet mapping in the archive and/or in the servlet 
spec.

In web.xml you can put a servlet mapping like

<servlet-mapping>
   <servlet-name>webdav</servlet-name>
   <url-pattern>/</url-pattern>
</servlet-mapping>  

which routs every request to the servlet, which's name is 
webdav.

You might want a mapping like the next one, but I'm not sure, as 
I've never done this before.

<servlet-mapping>
   <servlet-name>xxxx</servlet-name>
   <url-pattern>/xxxx</url-pattern>
</servlet-mapping>  

Andreas



On 3 Jan 2003 at 15:06, Vladimer Shioshvili wrote:

> 
> 
> 
> for some reason i remember seeing somewhere that i can painlessly
> change how servlets are accessed. by this i mean removing
> /servlet for URI path and using xx.com/xxxx instead of
> xx.com/servlet/xxxx.
> 
> any help appreciated,
> Vlad
> 
> 
> ________________
> Vladimer Shioshvili
> 
> QRC Division of Macro International Inc.
> 7315 Wisconsin Avenue, Suite 400W
> Bethesda, MD 20814
> 
> Phone: (301) 657 3077 ext. 155 
> 
> 


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message