2015年10月18日
摘要: struts2相对于struts1来说简单了很多,并且功能强大了很多,我们可以从几个方面来看: 从体系结构来看:struts2大量使用拦截器来出来请求,从而允许与业务逻辑控制器 与 servlet-api分离,避免了侵入性;而struts1.x在action中明显的侵入了servlet-api.从线... 阅读全文
posted @ 2015-10-18 13:45 XZhe 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 在struts2的应用中,从用户请求到服务器返回相应响应给用户端的过程中,包含了许多组件如:Controller、ActionProxy、ActionMapping、Configuration Manager、ActionInvocation、Inerceptor、Action、Result等。下面... 阅读全文
posted @ 2015-10-18 11:36 XZhe 阅读(132) 评论(0) 推荐(0) 编辑