MyEclipse built-in Tomcat open Web application

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.