我书面方式给你,因为我不知道在哪里,我必须把我的JSP文件中SpringBoot应用..我在哪里必须把我的jsp文件放在SpringBoot中?
A screen of my application's files
预先感谢您为您的答复, 诺曼。
PS:对不起,我不能在我的文章的开头说你好,总是被删除..
我书面方式给你,因为我不知道在哪里,我必须把我的JSP文件中SpringBoot应用..我在哪里必须把我的jsp文件放在SpringBoot中?
A screen of my application's files
预先感谢您为您的答复, 诺曼。
PS:对不起,我不能在我的文章的开头说你好,总是被删除..
其esey在春季添加JSP文件 以下步骤是针对重要: - 创建于src文件夹/主叫web应用 - 里面创建它文件夹,名为WEB-INF - 添加此行到您的POM文件
<!-- Spring MVC framework -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- JSTL -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>${jstl.version}</version>
</dependency>
<!-- for compile only, your container should have this -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servletapi.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
,您可以访问网址为更多细节步骤press here
谢谢你,我要阅读这篇文章:) – Noman