您当前的位置: 首页 >  嵌入式

梁同学与Android

暂无认证

  • 4浏览

    0关注

    618博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Spring Boot切换其他嵌入式的Servlet容器

梁同学与Android 发布时间:2020-04-01 15:57:03 ,浏览量:4

Spring Boot默认支持:

Tomcat(默认使用)


   org.springframework.boot
   spring-boot-starter-web
   引入web模块默认就是使用嵌入式的Tomcat作为Servlet容器;

切换Jetty



   org.springframework.boot
   spring-boot-starter-web
   
      
         spring-boot-starter-tomcat
         org.springframework.boot
      
   




   spring-boot-starter-jetty
   org.springframework.boot

切换Undertow



   org.springframework.boot
   spring-boot-starter-web
   
      
         spring-boot-starter-tomcat
         org.springframework.boot
      
   




   spring-boot-starter-undertow
   org.springframework.boot

学习内容来自尚硅谷

关注
打赏
1660730345
查看更多评论
立即登录/注册

微信扫码登录

0.0783s