View Full Version : any way to add servlet filter in host mode?

30 Mar 2009, 6:12 PM
since GWT in host mode maps servlets in the module file instead of web.xml, there does not seem to be a place to apply servlet filters. Is there any way to do that?

31 Mar 2009, 4:38 AM
Hi bhomass,

The way we do this is explained in:


Here, we use the -noserver option, and leave the servlet filter set up as is in the web.xml. AFAIK, this isn't something you setup in the module.gwt.xml file because the module.gwt.xml is for the client side instead of the server side.

I hope this helps!