![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Javaweb
文章平均质量分 65
菜到不能自已的程序员
这个作者很懒,什么都没留下…
展开
-
SpringSecurity学习笔记
一 .项目启动 在项目中若添加SpringSecurity的依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> 启动项目时会默认拦截所有的请求,要求必须登录之后才能进行相应的访问 二.SpringSecurity本质原创 2021-10-28 15:21:50 · 190 阅读 · 0 评论 -
从Servlet 到 SpringMVC 相关配置
一、servlet xml配置 1.首先建立一个maven项目项目结构为 [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-tuz7NHIo-1624203239226)(C:\Users\user\AppData\Roaming\Typora\typora-user-images\1624149998570.png)] 2.导入servlet的依赖包servlet-api 和jsp-api <!--添加Servlet和JSP依赖--> <dependency&原创 2021-06-21 08:31:51 · 171 阅读 · 0 评论