随笔分类 -  Struts2

struts2 入门
摘要:下载struts2:http://struts.apache.org/2.x/搭建struts2项目1.导入struts2所需jar包(struts2 jar包说明)2.编辑Web应用的web.xml配置文件,配置Struts 2的核心Filter。View Code <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-cl 阅读全文
posted @ 2013-04-11 15:56 nami 阅读(182) 评论(0) 推荐(0)
struts2 jar包说明
摘要:版本:struts-2.3.12灰色部分为必须加入的核心包。以前的版本commons-logging也是必须要加入的,不过试了一下2.3.12版本不加入commons-logging.jar也可以启动。但是一般项目记录日志是必须的,所以一般commons-logging.jar也会加入。xwork-core-2.3.12.jarwebwork的核心库struts2-core-2.3.12.jarstruts2 2.0.11.2的核心库freemarker-2.3.19.jar表现层框架,定义了struts2的可视组件主题ognl-3.0.6.jar对象图导航语言(Object Graph Na 阅读全文
posted @ 2013-04-10 14:38 nami 阅读(627) 评论(0) 推荐(0)