Hello,
I have the following in my web.xml:
<filter-mapping>
<filter-name>ResourceExpiresFilter</filter-name>
<url-pattern>/res/*</url-pattern>
<url-pattern>/eresim/*</url-pattern>
<url-pattern>/elogo/*</url-pattern>
<url-pattern>/eprofil/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
this is a basic filter for adding an expires header to static resources.
notice how I have multiple url-patterns. it works, but netbeans thinks my web.xml is invalid.
is this just a bug in netbeans, or am i supposed to write them (url-pattern) in a different way? (maybe comma seperated???)
Best.
[Message sent by forum member 'cambazz' (cambazz)]
http://forums.java.net/jive/thread.jspa?messageID=329672