On May 21, 9:33 am, "Dhanji R. Prasanna" <[email protected]> wrote: > you can go new GuiceFilter().destroy() though that's kinda kludgey. > Ideally you want to install struts2 as a filter inside ServletModule. But > the struts2 plugin has its own issues. I will see if I can patch it in the > next couple of weeks to work a bit better with ServletModule. > > You did not say whether you are using the DSL to configure your > servlets/filters? If you aren't you shouldn't even get the warning... >
No I'm not using the DSL to configure any servlets or filters (but I am getting the warnings). I have the Struts2 and Guice filter along with a couple servlets configured in web.xml (shouldn't have any bearing on the issues at hand since my unit tests don't use web.xml). The ServletModule is interesting, I might give it a try as it would give me DI in my other (non-Struts) servlets which would be nice. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
