On Sat, 8 Sep 2001, Andrew wrote:

> Date: Sat, 8 Sep 2001 18:11:49 +0400
> From: Andrew <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Mapping question
>
> How I can map /Path/*.ext to servlet?

The legal syntax for <url-pattern> values in the web.xml file are defined
in the servlet specification, which you can download at:

  http://java.sun.com/products/servlet/download.html

For your needs, you have two choices:

* Path mapped ("/path/*")

* Extension mapped ("*.ext")

but it is *not* legal to combine them -- you have to choose one or the
other.

Craig McClanahan

Reply via email to