摘要: Struts常见默认值重写 1.action后缀更改 在sturts.xml文件内配置 <constant name="struts.action.extension" value="action,com,cn,"></constant>(更改后缀) 2.重写生效 在sturts.xml中配置 <c 阅读全文
posted @ 2018-12-03 15:31 致颜文磊 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 基本struts框架搭建 1.导入jar包(位于文件夹lib内后有下载地址) 2.配置web.xml文件(后面下载的文件夹内) 3.在src路径下插入sturts.xml(后面下载的文件夹src内) 4.action标签的name就是jsp请求的action,class为action文件的位置,me 阅读全文
posted @ 2018-12-03 15:12 致颜文磊 阅读(184) 评论(0) 推荐(0) 编辑