ServletModule currently accepts any string for serve(...) and filter(...), but AFAIK, only strings with a leading '/' or '*' are useful.
The module should probably throw an error at configureServlets() time if an invalid pattern/path is given. I think this could be done by checking for leading '/' or '*' in FiltersModuleBuilder.java:77 and SerlvetsModuleBuilder.java:87. -Mike -- 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.
