Home | History | Annotate | Download | only in WEB-INF
      1 <?xml version="1.0"?>
      2 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      3   "http://java.sun.com/dtd/web-app_2_3.dtd">
      4 
      5 <web-app>
      6 
      7   <listener>
      8       <listener-class>com.google.inject.struts2.example.ExampleListener</listener-class>
      9   </listener>  
     10 
     11   <filter>
     12     <filter-name>guice</filter-name>
     13     <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
     14   </filter>
     15 
     16   <filter-mapping>
     17     <filter-name>guice</filter-name>
     18     <url-pattern>/*</url-pattern>
     19   </filter-mapping>
     20 
     21 </web-app>
     22