tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anto Paul <antop...@gmail.com>
Subject Re: AW: Servlet mapping problem
Date Wed, 29 Sep 2004 12:10:30 GMT
I cant grasp what you said. I am using Tomcat 4.1.x. I searched in
Google for world welcome-file and could'nt find anything on it. Are
you talking about welcome-file-list ?.

rgds
Anto Paul


On Wed, 29 Sep 2004 11:43:33 +0200, Steffen Heil <lists@steffen-heil.de> wrote:
> Hi
> 
> > I wrote a servlet with mapping as / . But when it is forwarded to
> subdirectory it is coming to same servlet and executing in a loop.
> 
> You cannot map a single url. Tomcat only maps prefixes. So, you cannot map
> "/" with tomcat. (Resin can, but this is another story.)
> Here is a workaround:
> Map "/root" as a servlet and define "root" as world welcome-file (see docs).
> Depending on the tomcat version in use, you need to create a empty file
> named "root".
> 
> > Remember this is a Struts list.
> 
> Nope.
> 
> Regards,
>  Steffen
> 
> 
> 
> 



-- 
To strive,to seek,to find and not to yield

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


Mime
View raw message