Groups
Groups
Sign in
Groups
Groups
google-guice
Conversations
About
Send feedback
Help
ServletModule and dispatch
21 views
Skip to first unread message
Robert Voliva
unread,
Aug 15, 2011, 3:55:09 PM
8/15/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-guice
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
Reply all
Reply to author
Forward
0 new messages