摘要: 官方文档对于controller的描述为:The <controller> element allows you to configure the ActionServlet. Many of the controller parameters were previously defined by servlet initialization parameters in your web.xml file but have been moved to this section of struts-config.xml in order to allow different modu 阅读全文
posted @ 2011-10-30 21:54 JaredLam 阅读(3528) 评论(0) 推荐(0) 编辑
摘要: 1.2.1 Struts 1简介及存在的问题从过去的岁月来看,Struts 1是所有MVC框架中不容辩驳的胜利者,不管是市场占有率,还是所拥有的开发人群,Struts 1都拥有其他MVC框架不可比拟的优势。Struts 1的成功得益于它丰富的文档、活跃的开发群体。当然,Struts 1是世界上第一个发布的MVC框架:Struts 1.0在2001年6月发布,这一点可能是使它得到如此广泛拥戴的主要原因。为了使读者可以明白Struts 1的运行机制,下面将简要介绍Struts 1的基本框架。Struts 1框架以ActionServlet作为核心控制器,整个应用由客户端请求驱动。当客户端向Web应 阅读全文
posted @ 2011-10-30 21:19 JaredLam 阅读(592) 评论(0) 推荐(0) 编辑