①org.apache.struts2包下的default.properties中配置了struts2应用的一些常量;
②struts.action.extension定义了当前struts应用可以接受的请求的扩展名;
③可以在struts.xml文件中以常量配置的方式修改default.properties所配置的常量;
<constant name="struts.action.extension" value="action,do"></constant>
①org.apache.struts2包下的default.properties中配置了struts2应用的一些常量;
②struts.action.extension定义了当前struts应用可以接受的请求的扩展名;
③可以在struts.xml文件中以常量配置的方式修改default.properties所配置的常量;
<constant name="struts.action.extension" value="action,do"></constant>