On Wed, 20 Feb 2002, Pier Fumagalli wrote:

> Date: Wed, 20 Feb 2002 17:23:11 +0000
> From: Pier Fumagalli <[EMAIL PROTECTED]>
> Reply-To: Tomcat Developers List <[EMAIL PROTECTED]>
> To: Tomcat Developers List <[EMAIL PROTECTED]>
> Subject: /servlets/ URL path...
>
> When I invoke a servlet such as
>
> http://localhost/application/servlets/HelloWorld
>
> WHO actually defines that /servlets/ is associated with my classes? Is it
> defined somewhere in the spec or is it a feature of Tomcat (in 4.0 it's the
> InvokerServlet, IIRC)
>

It's not in the spec -- it's a feature of Tomcat and many other servlet
containers.  For Tomcat 4 in particular, its defined in "conf/web.xml"
which establishes default characteristics of all webapps.  (Note that it's
mapped to "/servlet/*" not /servlets/*" though).

> Cheerios!
>
>     Pier
>

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to