My explanation for why this is a bug is that there is already an
implicitly registered servlet that returns HTTP 404 on unbound URIs, so
why should that behave any differently from an explicitly bound servlet
that does the same? Furthermore, we should be able to filter servlets
that return HTTP 404. You might want to override their content bodies,
add headers, etc. so there is no good reason for saying that filters
don't need to be called on addresses that return HTTP 404.
Gili
On 07/11/2012 9:43 AM, Richard Mutezintare wrote:
I am no sure whether this is a bug or a feature. I have observed the
behavior you describe in Websphere, Tomcat and Jetty. After some
debugging, I can confirm that the GuiceFilter get called, however you
still get a 404. To overcome that, the mapping of the GuiceFilter
remains /* and in the servlet configurator, I bind all other filters
to /something/*. With that configuration, I no longer get 404.
On Tue, Nov 6, 2012 at 11:33 PM, Gili <[email protected]
<mailto:[email protected]>> wrote:
FYI, I posted this bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=393738
Gili
--
You received this message because you are subscribed to the Google
Groups "google-guice" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-guice/-/tzyuNTZZBFoJ.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To unsubscribe from this group, send email to
[email protected]
<mailto:google-guice%[email protected]>.
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en.
--
You received this message because you are subscribed to the Google
Groups "google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en.
--
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en.