Objective:
Will deploy the Web program with the downloaded TOMCAT8.
Enter the http://localhost:8080/project name file name in any browser, such as UC.
Note that the project file needs to be placed in the WebApps directory under the Tomcat file.
Problem: MyEclipse has built-in tomcat7.0.
Create a new Web project program.
Run MyEclipse server is after as Tomcat 7.0.
The http://localhost:8080/project cannot be opened with MyEclipse built-in browser.
The server is the start state. The code is right (the index.jsp system automatically generated after the new project comes with, how can it be wrong) se packs are all in.
That's where the problem is. All kinds of Baidu. Finally found the problem! That is, there is no deployment project, resulting in a built-in Tomcat server with no links to the project
We need to configure the project in manage deployments.
Click OK
Solved.
Add:
You can download tomcat in configure server with your own. The project file is placed under the Tomcat directory WebApps and then accessed http://localhost:8080/project name with MyEclipse Web exploer or another browser to open directly.
The built-in TOMCAT7 and the tomcat you download are a little different.
That's when you download the Tomcat Access http://localhost:8080/when you go to the
Summary: The ability to access a Web site project with a browser is conditional on the project being deployed on the server.
So whether you're using the built-in TOMCAT7 or your own tomcat (like 8), make sure the project is deployed in the appropriate directory on the server.
The manual method is to locate the Tomcat directory below the WebApps directory that contains the TOMCAT8 directory
The automated approach is to deploy in the Manage deployments above.
MyEclipse built-in Tomcat open Web application