1 <!DOCTYPE struts PUBLIC 2 "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" 3 "http://struts.apache.org/dtds/struts-2.0.dtd"> 4 5 <struts> 6 <constant name="struts.devMode" value="true"></constant> 7 <!-- No need to specify a module here. See ExampleListener. --> 8 9 <!-- Register some actions, these get injected for you by Guice --> 10 <package name="default" extends="struts-default"> 11 <action name="Count" 12 class="com.google.inject.struts2.example.Count"> 13 <result>/Counter.jsp</result> 14 </action> 15 </package> 16 17 </struts> 18