Servlet Mapping with wildcards
From: Dale (dalew75_at_hotmail.com)
Date: 01/23/04
- Next message: PerfectDayToChaseTornados: "Re: Problem Solved!"
- Previous message: ak: "Re: Mars Rover Not Responding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Jan 2004 07:58:55 -0800
Is there any way in the web.xml, to define the servlet mappings in
such a way that I want to map all urls, EXCEPT for particular
patterns.
Here is my problem.... I want to ensure that requests for CSS (*.css)
or JS (*.js) files don't submit a request to the server most of the
time (so the browser just uses its own cached version). Any other url
would hit a default filter or servlet, which would then delegate to
other appropriate servlets.
The only way I can think to do this would be to map all 3 and 2 letter
extensions that are not CSS or JS to this default filter. Is there no
NOT wildcard I can use or something?
Thanks,
Dale
- Next message: PerfectDayToChaseTornados: "Re: Problem Solved!"
- Previous message: ak: "Re: Mars Rover Not Responding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|