<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
"http://struts.apache.org/dtds/struts-2.5.dtd">
<struts>
<!-- 通过constant配置来间接修改default.properties的属性
修改请求的后缀
-->
<constant name="struts.action.extension" value="do,,"></constant>
<constant name="struts.devMode" value="true"></constant>
<package name="hello" extends="struts-default">
<action name="hello" class="action.HelloWorld" method="Hello">
<result name="success">/index.jsp</result>
</action>
</package>
</struts>