Struts2框架修改訪問路徑後綴的三種方式

第一種:在struts.xml配置文件中配置(最常用) <constant name="struts.action.extension" value="action,,do"</constant> 第二種:在src下自定義struts.properties配置文件 struts.action.extension=action,,cc 第三種:在web.xml的前端控制器中配置常量 <init-pa
相關文章
相關標籤/搜索