First, thanks to All for fast respond. And I've read spec and know that
this not possible but I was believe Tomcat provide some "extension" for
such cases.Some little notice: Microsoft products(XML support in .NET for
example) doesn't use specs as is but add a litle bit more functionality for
user's convience.I think it's a goot practice as it allow correct tiny(not
visible maybe) spec gaps "on the fly".I suppose Microsoft as one of main
participants in specs development
declare only "form/sructure" elements while hide some useful extensions for
use in their own products. So, one could not be afraid to look "beyond"
spec.
Let's be more inventive.
Regards.
----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 08, 2001 11:03 PM
Subject: Re: Mapping question
>
>
> 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
>
>
>
>