# SpringBoot_Jsp_thymeleaf **Repository Path**: nightmid/SpringBoot_Jsp_thymeleaf ## Basic Information - **Project Name**: SpringBoot_Jsp_thymeleaf - **Description**: 这是一个springboot同时引用jsp和thymeleaf模板的样例,核心是利用了spring.thymeleaf.excluded-view-names参数。 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2019-07-25 - **Last Updated**: 2021-03-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SpringBoot_jsp_thymeleaf #### 项目介绍 spring boot整合themeleaf模版引擎与jsp,以及引入样式 #### 主要说明 基于Maven的典型java webapp。 打包格式war。打包时添加tomcat排除,不用打tomcat的包。 多模版引擎时优先使用themeleaf,如果找不到才找jsp,如果确定用Jsp的页面,可以在配置文件中用 spring.thymeleaf.excluded-view-names=排除,静态资源如Js,css优先从themeleaf的配置路径加载, 如果没有才从web根目录加载 #### 运行环境 在eclipse Version: 2019-06 (4.12.0) spring tool suite 4插件下 正常运行