摘要: SpringMvc拦截器 什么时拦截器 interceptor类似于srlvlet中的过滤器 用于 篮球用户请求做出处理 可以实现权限验证 请求记录 判断用户是否登录 拦截器的定义 1实现HandlerInterceptor接口 或者继承他的实现类 2实现webrequestinterceptor接 阅读全文
posted @ 2022-05-27 15:53 时凯 阅读(92) 评论(0) 推荐(0)
摘要: SpringMvc 一、简介 1 什么时springmvc: mcv是一种架构思想 将软件按照模型、视图、控制器来划分 m:模型层 指工程中的的javabean 作用是处理数据 ​ javabean分为两类 一为实体类bean 用来储存数据 user student等 二为业务处理类bean 如se 阅读全文
posted @ 2022-05-26 00:58 时凯 阅读(54) 评论(0) 推荐(0)
摘要: package computerPractice; import java.util.Scanner; public class BMIIndex { public static void main(String[] args) { Scanner sc = new Scanner(System.i 阅读全文
posted @ 2021-09-09 18:56 时凯 阅读(39) 评论(0) 推荐(0)
摘要: //三元运算符 public class Demo04 { public static void main(String[] args) { //X ? Y : Z //如果x为真输出Y反之输出Z //实例 很常用 int score=70; String type = score <60 ?"不及 阅读全文
posted @ 2021-09-08 21:56 时凯 阅读(51) 评论(0) 推荐(0)
摘要: Python 特点 **大数据 AI 数据分析 科学计算 自动化开发 桌面应用 游戏 * **解释型语言 runs everwhere 面向对象 高级语言 **可以面向过程编程 code print(“hello world”) 阅读全文
posted @ 2021-09-08 11:43 时凯 阅读(30) 评论(0) 推荐(0)
摘要: 关于java运算符 java语言支持的运算符 代码 +-*/ public class demo1 { public static void main(String[] args) { //二元运算符 //ctrl+D复制当前行到下一行 int a =1; int b =2; int c =3; i 阅读全文
posted @ 2021-09-07 21:32 时凯 阅读(34) 评论(0) 推荐(0)
摘要: 常用的dos命令 # 盘符切换 d: # 查看当前目录下所有文件 dir # 切换目录 cd .. #清理屏幕 cls (clrar screen) # 退出终端 exit # 查看电脑ip ipconfig #打开应用 ealc mspaint notepad #ping命令 ping www.x 阅读全文
posted @ 2021-09-06 20:05 时凯 阅读(26) 评论(0) 推荐(0)
摘要: 标题 标题 标题 空格+回车*一个#是一级标题 两个是二级 直到六级标题 字体 hello hello hello hello 代码 hello word 引用 超链接 [博客园](新闻 - 博客园 (cnblogs.com)) 图片 列表 有序列表 - 无序列表 表格 姓名 性别 年龄 shi n 阅读全文
posted @ 2021-09-06 10:48 时凯 阅读(43) 评论(0) 推荐(0)