The matching should go from most exact to least exact in this order (IIRC):
- Exact match
- Extension match
- Path match (meaning prefix) most exact winning first
- Default servlet match

So *.jsp takes precendence over /*

-Tim

Mike Curwen wrote:

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Saturday, October 25, 2003 8:48 PM
To: [EMAIL PROTECTED]
Subject: Re: Map all URL to one servlet

However, this mapping will override any extension-mapped (e.g. <url-pattern>*.jsp</url-pattern>) Servlet. Of course, your Servlet also has to be able to handle serving any static resources (e.g. gifs, stylesheets) as well.

I'm currently using a /* mapping, and also using JSP pages, with no
trouble. So your assertion doesn't seem correct. Any thoughts anyone?


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



Reply via email to