![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Struts2
守着曾经过今天
这个作者很懒,什么都没留下…
展开
-
【01】MVC
文章目录1. MVC2. Model I3. Model II 等价于 MVC4. MVC组成4.1 Model -- 模型4.2 View -- 视图4.3 Control(Controller) -- 控制器5. 代码结构 1. MVC MVC全名是Model View Controller,是模型(model)-视图(view)-控制器(controller)的缩写,一种软件设计典范,用于...原创 2019-04-01 14:35:30 · 206 阅读 · 0 评论 -
【02】Struts 2简介
文章目录1. Struts 2及其优势2. Struts2与MVC2.1 Struts22.2 原始MVC2.3 Struts改进 1. Struts 2及其优势 Struts 2是一个MVC框架,以WebWork框架的设计思想为核心,吸收了Struts 1的部分优点 Struts 2拥有更加广阔的前景,自身功能强大,还对其他框架下开发的程序提供很好的兼容性 2. Struts2与MVC 2...原创 2019-04-01 14:38:48 · 188 阅读 · 0 评论 -
【03】使用Struts 2 开发程序
文章目录1. Struts 2的资源获取2. 使用Struts 2 开发程序2.1 加载Struts2 类库2.2 配置web.xml文件2.3 开发视图层页面2.4 开发控制层Action2.5 配置struts.xml文件2.6 部署、运行项目 1. Struts 2的资源获取 Struts官方地址:http://struts.apache.org Struts 2 目录结构 apps目...原创 2019-04-01 14:49:51 · 171 阅读 · 0 评论