On Mon, 3 Feb 2003, Pooleery, Manoj wrote:

> Date: Mon, 3 Feb 2003 17:22:16 -0500
> From: "Pooleery, Manoj" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> Subject: web.xml question
>
> Is it necessary that for each of the <servlet> elements in the web.xml, a
> corresponding <servlet-mapping> element should be there? (For a context
> other than root).

If you want your servlet to be accessible from a client request, you need
to provide at least one mapping for it.  It's perfectly legal to have more
than one mapping, if that suits your needs -- but a <servlet> definition
that does not have at least one <servlet-mapping> is not going to be of
much use to you.

>
> Thanks
> -Manoj.
>

Craig


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

Reply via email to