Struts2之常量的编写

上述default.properties的struts.action.extention=action,,的常量表示的含义,页面中访问的/hello.action的后缀名,(要么不写后缀名 /hello ,要么只能写.action的后缀名,不能写成像.do 之类的) 如果要修改后缀名,可以复制常量struts.action.extention,在struts.xml中修改 <struts> <!
相关文章
相关标签/搜索