It's better to define a new abstract module for injected servlets and filter. Since, it's replacing web.xml in some sense, WebModule or WebXmlModule is the fitting name. ServletMdoule is much closer to ServletContainerModule. Any Guice module which defines binding(s) should not be extensible.
On Dec 27, 3:47 pm, "Dhanji R. Prasanna" <[email protected]> wrote: > On Sun, Dec 28, 2008 at 5:54 AM, Chandra <[email protected]> wrote: > > > The configure method of ServletModule is final and guice-struts2 > > installs ServletModule. How can one extend ServletModule with guice- > > struts2 plugin? > > There's a problem with the struts2 plugin as it currently stands. Even > if you were somehow to be able to install a subclassed ServletModule, > the filters and servlets will not be initialized correctly. > > I'm working on a solution for this. > > Dhanji. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
