Is it possible with Spring Boot to serve up JSPs with a JAR packaging?

前端 未结 3 1252
北海茫月
北海茫月 2020-11-28 10:25

I\'m familiar with the Spring Boot JSP sample application

However that example uses the WAR packaging. Is it possible to do the same with

3条回答
  •  野性不改
    2020-11-28 11:19

    Your best bet is to change the packaging type into war, and it should work without further changes.

    As mentioned in on of the comments above, there are some limitations:

    http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-developing-web-applications.html#boot-features-jsp-limitations

提交回复
热议问题