随笔分类 -  struts

摘要:1.机制:spring mvc的入口是servlet,而struts2是filter2. 性能:spring会稍微比struts快。spring mvc是基于方法,单例(servlet也是单例);而sturts是基于类,多例3. Intercepter的实现机制:struts有以自己的Interce... 阅读全文
posted @ 2014-07-20 18:00 等风来。。 阅读(232) 评论(0) 推荐(0) 编辑
摘要:文章思路清晰http://blog.csdn.net/zeqblog/article/details/8665052 阅读全文
posted @ 2014-02-19 17:55 等风来。。 阅读(122) 评论(0) 推荐(0) 编辑
摘要:严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.reflect.InvocationTargetException处理方法:1、核对lib包 commons-fileupload-1.2.1.jar, commons-io-1.3.2.jarcommons-logging-1.0.4.jar freemarker-2.3.16.jar ognl-3.0.jar struts2-core-2.2.1.jar xwork-core-2.2.1.jar注意2.1以前是没有commons-fileup 阅读全文
posted @ 2013-08-15 17:13 等风来。。 阅读(309) 评论(0) 推荐(0) 编辑
摘要:1.“#”主要有三种用途:访问OGNL上下文和Action上下文,#相当于ActionContext.getContext();可以访问这几个ActionContext中的属性。parameters#parameters.id[0]作用相当于request.getParameter("id")request#request.userName相当于request.getAttribute("userName")session#session.userName相当于session.getAttribute("userName")appli 阅读全文
posted @ 2013-08-09 14:11 等风来。。 阅读(395) 评论(0) 推荐(0) 编辑
摘要:public class ActionContext implements Serializable The ActionContext is the context in which anActionis executed. Each context is basically a container of objects an actionneeds for executionlike the session, parameters, locale, etc. The ActionContext is thread local which means that values stored i 阅读全文
posted @ 2013-08-04 16:18 等风来。。 阅读(345) 评论(0) 推荐(0) 编辑

------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------
点击右上角即可分享
微信分享提示