详见视频10 默认是.action和没有扩展名的
1)打开org.apche.struts2包下的default.properties中配置了Struts2应用的一些常量 2)Struts.action.extension定义了当前Struts2应用可以接受的请求的扩展名 3)可以在struts.xml文件中以常量配置的方式修改default.properties所配置的常量 <constant name="struts.action.extension" value="action,do,"></constant> |
|