在Spring Boot中,JSP页面的路径通常位于`src/main/webapp`目录下。以下是一个简单的Spring Boot应用程序示例,演示了如何配置和访问JSP页面。
```java

package com.example.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@SpringBootApplication
@Controller
public class DemoApplication {
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
@GetMapping("









