<span style= "Font-size:large;" ><?xml version= "1.0" encoding= "UTF-8"?>
<! DOCTYPE Struts Public
"-//apache software foundation//dtd Struts Configuration 2.1.7//en"
"Http://struts.apache.org/dtds/struts-2.1.7.dtd" >
<struts>
<!--How to encode the request parameters--
<constant name= "struts.i18n.encoding" value= "UTF-8"/>
<!--Specifies the type of request suffix that is processed by STRUTS2. Multiple separated by commas-
<constant name= "struts.action.extension" value= "Action,do,go,qqi"/>
<!--whether to reload when Struts.xml is changed. The default value is False (used in a production environment), and the development phase is best opened-
<constant name= "Struts.configuration.xml.reload" value= "true"/>
<!--whether to use Struts's development model. The development pattern will have more debugging information. The default value is False (used in a production environment), and the development phase is best opened-
<constant name= "Struts.devmode" value= "false"/>
<!--set whether the browser caches static content. The default value is True (used in a production environment), and the development phase is best off--
<constant name= "Struts.serve.static.browserCache" value= "false"/>
<!--Specifies that spring is responsible for the creation of the Action object
<constant name= "struts.objectfactory" value= "Spring"/>
-
<!--whether to turn on dynamic method invocation--
<constant name= "Struts.enable.DynamicMethodInvocation" value= "false"/>
</struts></span>
About the STRUTS2 Web. XML configuration