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,
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
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
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
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 "