
SpringBoot学习
学习
Dastan2k
这个作者很懒,什么都没留下…
展开
-
Springboot中Web原生组件的注入
一、使用原生的Servlet 注意:要在springboot中能够扫描到web组件 需要使用注解,在主程序application类中加上 @ServletComponentScan(basePackages = “com.atguigu.admin”) :指定原生Servlet组件都放在那里 //servlet组件 @WebServlet(urlPatterns = {"/myServlet"}) public class MyServlet extends HttpServlet { @Overr原创 2022-01-10 22:37:06 · 271 阅读 · 0 评论 -
2021-06-21
springboot2学习 尚硅谷视频地址 https://www.bilibili.com/video/BV1Et411Y7tQ?p=112 尚硅谷笔记 https://www.yuque.com/atguigu/springboot/lcfeme 配套源码 https://gitee.com/leifengyang/springboot2原创 2021-06-24 13:27:38 · 176 阅读 · 0 评论