Status: New Owner: ---- New issue 423 by aleksey.didik: Need information about web.xml on Struts2Integration wiki page http://code.google.com/p/google-guice/issues/detail?id=423
Hello :) I've tried to create new struts2+guice application and use Struts2Integration wiki page as example. All fine except @SessionScoped. ServletScopes will not work untill you add GuiceFilter to your web.xml. Yes, it's clear if you made guice+servlet apllication before, but I didn't do it and spent much time to find the truth. Please add infromation about it to http://code.google.com/p/google- guice/wiki/Struts2Integration My web.xml (not full): <filter> <filter-name>guiceFilter</filter-name> <filter-class>com.google.inject.servlet.GuiceFilter</filter- class> </filter> <filter> <filter-name>struts</filter-name> <filter- class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter </ filter-class> </filter> <filter-mapping> <filter-name>guiceFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>struts</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice-dev" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
