<html>
<head>
<title>Evernote Export</title>
<basefont face="华文楷体" size="2" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="exporter-version" content="Evernote Windows/304720 (zh-CN, DDL); Windows/10.0.14393 (Win64);"/>
<style>
body, td {
font-family: 华文楷体;
font-size: 16pt;
}
</style>
</head>
<body>
<a name="327"/>
<div>
<span><div><span style="font-size: 21px;">动态方法调用:</span></div><div><span style="font-size: 21px;"> 无对象调用方法??</span></div><div><span style="font-size: 21px;"> 无对象指的是什么?</span></div><div><span style="font-size: 21px;"> 动作类不创建对象吗</span></div></span>
</div>
<hr>
<a name="333"/>
<div>
<span><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b><b>1 Struts2</b>框架概述</b></span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><br/></span></span></div><div align="justify" style="font-weight: bold;"><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b>1.1</b> <b>什么是</b><b>struts2</b><b>框架</b></span></span></div><div align="justify" style="font-weight: bold;"><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 下图说明在三层构架中的位置<br/></span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b> </b> <b> </b><img src="Struts2_files/Image.png" type="image/png" style="height: auto;"/></span></span></div><div align="justify"><div align="justify" style="min-height: 144pt;"><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b>表现层</b></span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 接收客户端请求, 向客户端响应结果, 通常客户端使用</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> http 协议请求 web 层, web 需要接收 http 请求, 完成 http 响应。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 表现层包括展示层和控制层: 控制层负责接收请求, 展示层负责结果的展示。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 表现层依赖业务层, 接收到客户端请求一般会调用业务层进行业务处理, 并将处理结果响应给客户端。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><br/></span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 表现层的设计一般都使用 MVC 模型。( MVC 是表现层的设计模型, 和其他层没有关系)</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b>1.1</b> <b>struts2</b><b>框架优点</b></span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b> </b>项目开源, 使用及拓展方便, 天生优势。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 提供 Exception 处理机制。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> Result 方式的页面导航, 通过 Result 标签很方便的实现重定向和页面跳转。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 通过简单、 集中的配置来调度业务类, 使得配置和修改都非常容易。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 提供简单、 统一的表达式语言来访问所有可供访问的数据。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 提供标准、 强大的验证框架和国际化框架。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 提供强大的、 可以有效减少页面代码的标签。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 提供良好的 Ajax 支持。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 拥有简单的插件, 只需放入相应的 JAR 包, 任何人都可以扩展 Struts2 框架, 比如自定义拦截器、</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 自定义结果类型、 自定义标签等, 为 Struts2 定制需要的功能, 不需要什么特殊配置, 并且可以</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 发布给其他人使用。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 拥有智能的默认设置, 不需要另外进行繁琐的设置。 使用默认设置就可以完成大多数项目程序</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 开发所需要的功能。</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 上面列举的就是 Struts2 的一系列技术优势, 只需对它们简单了解即可, 在学习了后面的知识后,会慢慢对这些技术优势有更好的理解和体会 </span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b>*什么是struts2</b></span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 1、应用在web层,主要做数据的操作</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 2、轻量级框架</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 3、struts2和struts1比是全新的框架</span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 4、使用和扩展方便</span></span></div><div align="justify" style="min-height: 24pt;"><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> <img src="Struts2_files/Image [1].png" type="image/png" style="height: auto;"/></span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><br/></span></span></div><div align="justify"><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b><b>1.2 常见</b><b>web层框架</b></b><b> </b></span></span></div><div align="justify"><div align="justify" style="min-height: 12pt;"><div style="margin-left:40px;"><span style="font-size: 21px;"><span style="font-family: 华文楷体;">1 struts1</span></span></div></div><div align="justify" style="min-height: 12pt;margin-left:40px;"><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;">2 webwork</span></span></div></div><div align="justify" style="min-height: 14pt;"><div style="margin-left:40px;"><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b>3 springMVC(常用)</b></span></span></div></div></div><div align="justify" style="font-weight: bold;"><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> </span></span></div><div><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><br/></span></span></div><div align="justify"><span style="font-size: 21px;"><span style="font-family: 华文楷体;"><b><b>1.3 web层框架特点</b></b> <b> </b></span></span></div><div align="justify"><span style="font-size: 21px;"><span style="font-family: 华文楷体;"> 1 如果框架应用在web层,这类框架一�
没有合适的资源?快使用搜索试试~ 我知道了~
ssm.ssh,css,bootstrap,html5笔记.rar_css_html5 后台_ssh_ssm bootstrap
共42个文件
xmind:41个
html:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 194 浏览量
2022-09-23
02:45:36
上传
评论
收藏 9.22MB RAR 举报
温馨提示
包含了主流的后台框架笔记,如ssm,ssh,还有前端的一些笔记,比如javascript,css.html5,bootstarp框架,内容详细全面
资源推荐
资源详情
资源评论
收起资源包目录
ssm.ssh,css,bootstrap,html5笔记.rar (42个子文件)
笔记
Bootstrap.xmind 462KB
Junit,注解,动态代理,类加载器.xmind 1.24MB
网络编程.xmind 568KB
CSS.xmind 458KB
Hibernate.xmind 637KB
HTTP.xmind 2.95MB
jQuery.xmind 2.03MB
就业班.xmind 15.8MB
js.xmind 2.12MB
HTML.xmind 2.25MB
response && request(1).xmind 1.02MB
Hibernate一对多,多对一的配置.xmind 342KB
JSP(1).xmind 10.08MB
线程.xmind 1.41MB
Struts2.html 275KB
vue.xmind 444KB
java script 笔记.xmind 2.25MB
es 6.xmind 951KB
18BeanUtils.xmind 87KB
IO流.xmind 3.6MB
mySql.xmind 2.67MB
Servlet.xmind 2.37MB
hibernate查询api 缓存 主键 事务.xmind 425KB
JDBC.xmind 3.64MB
JSP.xmind 10.08MB
Listener&Filter.xmind 987KB
response && request.xmind 1.02MB
分页查询(1).xmind 70KB
文件的上传和下载.xmind 573KB
js2.xmind 689KB
反射.xmind 728KB
xml.xmind 566KB
Hibernate中JPA注解.xmind 191KB
java script.xmind 1.03MB
Redis.xmind 2.44MB
AJAX.xmind 162KB
struts2.xmind 171KB
EASY_UI.xmind 105KB
Cookie && Session.xmind 230KB
分页查询.xmind 70KB
EsayUI.xmind 189KB
Linux入门.xmind 251KB
共 42 条
- 1
资源评论
林当时
- 粉丝: 95
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功