users@glassfish.java.net

Re: Servlets 3.0: Default servlet hides static resources

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Wed, 04 Jan 2012 18:19:04 -0800

Look like there may be an issue here.
As a workaround, one can associate a filter with a servlet by name as
follows:
@WebFilter(servletNames={"myservlet"})
@WebServlet(name="myservlet", urlPatterns={""})