Home > front end >  The origin server did not find a current representation for The target resource
The origin server did not find a current representation for The target resource

Time:11-23




Code is black, beating without any prompt, only the JSP file, HTML file that will not




This path will go wrong, proving that the Tomcat configuration errors, but the JSP file can be opened



The picture above shows the JSP file can run, and then looked at the Tomcat configuration, the configuration of the path that's right, I then configure Tomcat eclipse, as shown in figure





You can see my Tomcat configuration is good

Summary is my JSP file can run successfully, but the JSP file banging on the code when the code is without any hint of black, enter http://localhost:8080/also go wrong at the same time, ask for help, thank you very much

CodePudding user response:

/: point to the webapps directory in the ROOT project
/javaBean: point to the webapps directory javaBean project

CodePudding user response:

If your project is not packaged into ROOT. War, can also realize/==& gt;/javaBean (if the project into javabeans. War), but need to tomcat in the conf need or use nginx or apache jump, or set a local domain but need to cooperate with the hosts (Windows) in the set

CodePudding user response:

The
reference 1/f, street vendors reply:
/: point to the webapps directory ROOT project
/javaBean: point to the webapps directory javaBean project

Can you say about the specific solution

CodePudding user response:

reference 3 floor MASTER - scene response:
Quote: refer to 1st floor street vendor reply:

/: point to the webapps directory in the ROOT project
/javaBean: point to the webapps directory javaBean project

Can you say about the specific solution


Said is very clear, which don't understand
  • Related