Spring+SpringMVC+Mybatis
1. Spring简介1.1 Spring是什么Spring是分层的Java SE/EE应用full-stack轻量级开源框架,以IoC(Inverse Of Control:反转控制)和AOP(Aspect OrientedProgramming:面向切面编程)为内核。
提供了展现SpringMVC和持久层Spring JDBCTemplate以及业务层事务管理等众多的企业级应用技术,还能整合开源世界众多著名的第三方框架和类库,逐渐成为使用最多的JavaEE 企业应用开源框架。
1.2 Spring发展历程1997年,IBM提出了 EJB 的思想
1998年,SUN制定开发标准规范 EJB 1.0
1999年,EJB 1.1 发布
2001年,EJB 2.0 发布
2003年,EJB 2.1 发布
2006年,EJB 3.0 发布
Rob Johnson(Spring之父)
Expert One-to-One J2EE Design and Development(2022)
阐述了 J2EE 使用EJB 开发设计的优缺点及解决方案
Expert One-to-One J2EE De ...
MarkDown基本语法
MarkDown基本语法标题1# 标题名字(井号的个数代表标题的级数)
1234567# 一级标题## 二级标题### 三级标题#### 四级标题##### 五级标题###### 六级标题####### 最多支持六级标题
段落段落没有特殊的格式,直接用一个空行来表示重新开始一个段落。
文字斜体1这是用来 *斜体* 的 _文本_
这是用来 斜体 的 文本
加粗1这是用来 **加粗** 的 __文本__
这是用来 加粗 的 文本
斜体+加粗1这是用来 ***斜体+加粗*** 的 ___文本___
这是用来 斜体+加粗 的 文本
删除线1这就是 ~~删除线~~(使用波浪号)
这就是 删除线(使用波浪号)
下划线下划线是HTML语法
下划线下划线(快捷键command+U,Mac系统)
分隔线可以在一行中使用三个或更多的*、-或_来添加分隔线
123***------___
扩展语法的说明部分渲染可可能不支持该效果,若不在意垮软件性可以使用(意思就是换个别的支持markdown语法的地方敲字,某些样式可能识别不出来)
高亮(需勾选扩展语法)1这是用来 ==高亮== 的文本
这是用来 == ...
Windows运行命令大全
Windows运行命令大全
关于Windows
winver
添加设备
devicepairingwizard
添加硬件
hdwwiz
用户账户
netplwiz
授权管理器
azman(Win7)
备份和还原
sdclt
Bluetooth文件传送
fsquirt
计算器
calc
证书
certmgr(Win7)
性能选项
systempropertiesperformance
数据执行保护
systempropertiesdataexecutionprevention
打印机用户界面
printui
字符映射表
charmap
ClearType文本调谐器
cttune
颜色管理
colorcpl
命令提示符
cmd
组件服务
comexp(Win7)
组件服务
dcomcnfg
计算机管理
compmgmt
计算机管理
compmgmtlauncher
连接到网络投影仪
netproj(Win7)
显示切换
displayswitch
控制面板
control
创建共享文件夹向 ...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment
数学基础编程题
123456789import numpy as npA = np.array([[2, 1, 4, 0], [1, -1, 3, 4]])B = np.array([[1, 3, 1], [0, -1, 2], [1, -3, 1], [4, 0, -2]])S = np.dot(A, B)print(S)
[[ 6 -7 8]
[20 -5 -6]]
2、编程解决如下投入产出问题:某县区有A、B、C三个企业,A企业每生产l元的产品要消耗0.4元B企业的产品和0.3元C企业的产品;B企业每生产l元的产品要消耗0.7元A企业的产品、0.l2元自产的产品和0.2元C企业的产品;C企业每生产l元的产品要消耗0.6元A企业的产品和0.l5元B企业的产品。如果这3个企业接到的外来订单分别为7万元、8.5万元和5万元,那么他们各生产多少才能满足需求?模型假设:假设不考虑价格变动等其他因素。
1234567891011121314151617181920212223import numpy ...
计算机专业英语
计算机专业英语
Waterfall model 瀑布模型
Progress is seen as flowing steadily downwards through the phases of requirements analysis,design,implementation,testing,and maintenance.
Data Mining 数据挖掘
Several types of analytical software are available:statistics,machine learning,and neural networks.
Five types of relationships are sought:
Classes analysis 分类分析
Cluster analysis 聚类分析
Association analysis 关联分析
Outlier analysis 孤立点分析
Sequential pattern analysis 序列模式分析
段落翻译
HarmonyOS 鸿 ...
数学基础考点
如何实现两个向量的数乘、内积、外积和分量乘法?
12345678910111213141516171819202122import numpy as np# 定义两个向量vector1 = np.array([1, 2, 3])vector2 = np.array([4, 5, 6])# 数乘scalar_multiply = 2 # 乘以2result_scalar_multiply = vector1 * scalar_multiplyprint("数乘结果:", result_scalar_multiply)# 内积(点积)dot_product = np.dot(vector1, vector2)print("内积结果:", dot_product)# 外积(叉积)cross_product = np.cross(vector1, vector2)print("外积结果:", cross_product)# 分量乘法component_multiply = vector1 * vector2print(" ...
响应状态码
一、状态码大类
状态码分类
说明
1xx
响应中——临时状态码,表示请求已经接受,告诉客户端应该继续请求或者如果它已经完成则忽略它
2xx
成功——表示请求已经被成功接收,处理已完成
3xx
重定向——重定向到其它地方:它让客户端再发起一个请求以完成整个处理。
4xx
客户端错误——处理发生错误,责任在客户端,如:客户端的请求一个不存在的资源,客户端未被授权,禁止访问等
5xx
服务器端错误——处理发生错误,责任在服务端,如:服务端抛出异常,路由出错,HTTP版本不支持等
二、常见的响应状态码
状态码
英文描述
解释
200
OK
客户端请求成功,即处理成功,这是我们最想看到的状态码
302
Found
指示所请求的资源已移动到由Location响应头给定的 URL,浏览器会自动重新访问到这个页面
304
Not Modified
告诉客户端,你请求的资源至上次取得后,服务端并未更改,你直接用你本地缓存吧。隐式重定向
400
Bad Request
客户端请求有语法错误,不能被服务器所理解
403
Forbidden
...
词汇
2023-11-1词汇
comment n. 评论 v. 表达意见
private adj. 私人的,个人的 == personal
take out v. 取出,除去; 拔掉; 把…带出去; 邀请(某人)外出
context n. 上下文,情景,语境
ruin v. 毁掉,摧毁
candidate n. 候选人; 应试者; 申请人; 被认定适合者
hired v. 聘用( hire的过去式和过去分词 ); 录用; 雇用; 租用
conversely adv. 相反的
opt v. 选择 (for)
fit v. 适合
align v. 和……相符(with),匹配 vt. 使成一线,使结盟; 排整齐 vi. 排列; 成一条线
sense ...
四级笔记
语法一、秒懂长难句
做减法
减些啥?
插入语 [两个破折号之间;两个逗号之间(修饰关系)]
作修饰成分的介词短语/to do/doing/done
从句(连接词始,一般第二个动词止)
例句:
例句一
Pictures or comments on a private page that are taken out of context could ruin a perfectly good candidate’s chances of getting hired.
Pictures or comments on a private page that are taken out of context could ruin a perfectly good candidate’s chances of getting hired.
on a private page、of getting hired 介短
that are taken of context 从句
a perfectly good candidate’s ...