springweb三大组件

时间:2025年06月29日 00:56:28

SpringBoot注册三大组件 - 掘金

2019年12月7日 由于SpringBoot默认是以jar包的方式启动嵌入式的Servlet容器来启动SpringBoot的web应用,没有web.xml文件。注册三大组件用以下方式ServletRegistrationBean publ...