Home > Back-end >  Maven springboot project to access the JSP page, the page has been downloaded directly
Maven springboot project to access the JSP page, the page has been downloaded directly

Time:11-20

After only a start, start to direct access to the page, enter the address confirmation, after the page is direct download,

CodePudding user response:

, and configure the ViewResolver?

CodePudding user response:

Is not the problem, the same thing, others with is good, the project is the same, the environment is also

CodePudding user response:

Since use spring to boot, why not use before and after separation of the way?
This front desk after start-up, only need to call the backend interface to go,

CodePudding user response:

Use the web container? Or page didn't set the content type or something?

CodePudding user response:

You send the control layer code

CodePudding user response:

Today just to fit in the same error, the specific reason not too clear, in the pom file into the following several jars, & lt; Dependency>
Javax.mail. Servlet
Javax.mail. Servlet - api


Javax.mail. Servlet
Jstl


Org, apache tomcat. Embed
Tomcat embed - jasper


Org. Apache. Tomcat
Tomcat JSP - api

CodePudding user response:

To set up for springmvc view parser for JSTL view parser

CodePudding user response:

To import the JSTL library,, ok

CodePudding user response:

The building Lord, please finally have a solution

CodePudding user response:

Through the access control layer
  • Related