摘要: struts2动态方法调用共有三种方式:1、通过action元素的method属性指定访问该action时运行的方法 /index.jsp /login.jsp [在struts2框架中使用包来管理Action,... 阅读全文
posted @ 2015-12-01 21:52 orlion 阅读(2168) 评论(0) 推荐(0) 编辑
摘要: 1、首先用eclipse新建一个动态web项目Struts2Demo1:(把Default output floder由build\classes改成WebContent\WEB-INF\classes)2、从struts2官网下载struts,解压后将如下包copy到WebContent/WEB-... 阅读全文
posted @ 2015-12-01 17:12 orlion 阅读(327) 评论(0) 推荐(0) 编辑