摘要: 一.创建springboot项目 使用 http://start.spring.io/ 快速创建一个springboot项目下载并导入 二.添加依赖 在pom.xml中添加支持jsp的依赖如下: 三.编写controller 注意此时注解要用@Controller,不能使用@RestControll 阅读全文