在Spring Boot项目中集成JSP页面展示,通常需要以下几个步骤:
1. 添加依赖
在项目的`pom.xml`文件中添加Spring Boot Web Starter依赖。

```xml
```
2. 配置视图解析器
在`application.properties`或`application.yml`中配置视图解析器。
```properties
spring.mvc.view.prefix=/WEB-INF/jsp/
spring.mvc.view.suffix=.jsp
```
3. 创建Controller
创建一个简单的Controller来返回JSP页面。
```java
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class HelloController {
@GetMapping("







