users@glassfish.java.net

Re: Servlets 3.0: Default servlet hides static resources

From: <forums_at_java.net>
Date: Wed, 4 Jan 2012 17:33:08 -0600 (CST)

Hi Jan,

Thanks for your kind explanation which was very useful to me.  As a result
yesterday I switched to Glassfish from Jetty because Jetty incorrectly
implements the "" mapping.

However, I am facing another problem.

I have a @WebServlet("") and a @WebFilter(urlPatterns = {"", "/", "/*"},
asyncSupported = true)  But the filter is not being invoked for the servlet
:-(

 

I am using the latest Java EE 6 SDK bundled with Java SE 7, and I have also
posted this as an independent
topic: http://www.java.net/forum/topic/glassfish/glassfish/cannot-filter-requests-context-root-servlet
[1]

Sincerely.


[1]
http://www.java.net/forum/topic/glassfish/glassfish/cannot-filter-requests-context-root-servlet

--
[Message sent by forum member 'agksmehx']
View Post: http://forums.java.net/node/700651