012-Spring Boot web【一】创建、请求、使用jsp、freemarker,tomcat、jetty
2018-02-01 23:19
477 查看
一、项目搭建
同:http://www.cnblogs.com/bjlhx/p/8324971.html1)新建maven项目→使用默认配置即可
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jetty</artifactId> </dependency>
View Code
注意查看
spring-boot-autoconfigure包,在org.springframework.boot.autoconfigure.web.ServerProperties中查看,如何配置web容器配置
server.port=8080 server.contextPath=/
注意:善用contextPath做虚拟目录
相关文章推荐
- 【spring boot】5.spring boot 创建web项目并使用jsp作前台页面
- springboot-10-前端页面整合, thymeleaf, freemarker, jsp 模板使用
- Spring Boot 使用JSP入门 内嵌Tomcat启动
- Spring Boot中使用AOP统一处理Web请求日志
- Spring Boot中使用AOP统一处理Web请求日志
- Spring Boot中使用AOP统一处理Web请求日志
- Spring Boot中使用AOP统一处理Web请求日志
- springboot 在idea多模块下 子模块的web项目用内置tomcat启动访问jsp报404
- 使用Gradle构建SpringBoot工程系列:第六篇:SpringBoot 替换Tomcat为Jetty或UnderTow
- thymeleaf :springboot整合mybatis的web项目中使用html而不是jsp当页面渲染
- 一头扎进springboot之使用Freemarker模板引擎渲染web视图
- Spring Boot中使用AOP统一处理Web请求日志
- (转)Spring Boot中使用AOP统一处理Web请求日志
- springboot【19】日志管理之使用AOP统一处理Web请求日志
- spring boot 使用velocity、freeMarker模板创建html页面返回给前端
- Spring Boot中使用AOP统一处理Web请求日志
- 【SpringBoot】Spring Boot进阶之Web进阶( 第2章 Web进阶-使用AOP处理请求 )
- Spring Boot(十一)使用AOP,@Aspect统一处理Web请求日志
- Spring Boot中使用AOP统一处理Web请求日志
- Spring Boot 学习笔记【6】使用FreeMarker与BootStrap开发Web