AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi > No. You're mistaking the default configuration for something that's hard-coded. Out of the box, "/" is mapped to Tomcat's DefaultServlet, which handles static content. This is routine for other containers as well and is not a particular Tomcat trick. No, I did understand this. However,

AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi > > You cannot map a single url. Tomcat only maps prefixes. > Really? Where did this nugget come from? ;) I nearly choked on my (otherwise fabulous) croissant. Your assertion above is wrong. Tomcat implements servlet mapping exactly as required by the Servlet Specification (SRV 11). That

AW: AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi > 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 ?. Yes. It's entry is welcome-file. root If someone accesses "/", tomcat will search for "/root" and

Re: AW: Servlet mapping problem

2004-09-29 Thread Anto Paul
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 <[EMAIL PROTECTED]> wrote: > Hi > > > I wrote a servlet w

AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
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 "