Home > Back-end >  The idea of how to access the JSP file?
The idea of how to access the JSP file?

Time:12-09

I see somebody else that project is under the main built a webapp folder, but I can't use the idea of running, I set up a file - & gt; Project stucture in the web documents, folders now and there's a small blue dot, POM, joined the JSP that, before the application also added a suffix, is can't run, I saw, walked to the controller, also don't know why, I was hoping to otherwise change the STS, but I can't get into the STS's official website, seems to be the wall? Don't know what to do

CodePudding user response:

What is the controller? What do you use containers (tomcat? Jetty? Run?

CodePudding user response:

reference 1st floor YangjulongTrue response:
what is the controller? What do you use containers (tomcat? Jetty? Run?
is requestmapping, but returned to view name, can't parsed into view

CodePudding user response:

Try enter your url in the address bar

CodePudding user response:

The parser configuration view you? Access is 404? An error or something you didn't say clear?

CodePudding user response:

CodePudding user response:

Did you add @ ResponseBody, try to get rid of, or your MVC in the right path and postfix configuration, didn't find the corresponding JSP folder? If you return the string of JSP is a string of words of the mouse on the string should be displayed a corresponding labeling of JSP file folder, click to enter to the JSP file

CodePudding user response:

Spring the boot program if you want to use to the JSP, you also need to import a lot of jars
  • Related