I'm trying to setup a 404 page that needs to be filtered through my
Wicket filter for some functionality. I have this in my
ServletModule:
filter("/*").through(WicketGuiceFilter.class, wicketFilterInitParams);
where WicketGuiceFilter extends Wicket's WicketFilter
But what I need is to also define the REQUEST and ERROR dispatchers.
In the web.xml I would have done:
<filter-mapping>
<filter-name>WicketGuiceFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
Any ideas as to how I could accomplish this with ServletModule?
Thanks,
Bobby
--
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.