Web--java Web Project Tomcat configuration with the first Web project creation

Source: Internet
Author: User

Directory:

0. Preface

1. Tomcat Configuration

2. First Web project

0. Preface

Just started to touch web development, not much to know, here to record my first Web project started the process. There are many online tutorials, and the Java IDE used seems to be a variety of things, such as the one published in 2009: Talking about configuring Tomcat in Eclipse, published in 2014: How to configure the Java EE ECLIPSE+TOMCAT development environment, and many more assorted, I feel that the configuration is more and more simplistic, and I'm using it as a simpler tool.

The more simplistic the tool, the more the underlying principle is more, and the packaging is deeper. Should give the simple point, or the complex point is good, the benevolent see of the beholder. Well, the crap doesn't say much, say my configuration process.

Environment: Win7 + JDk 1.8 + apache-tomcat-7.0.52 + myeclipse Enterprise Workbench v 2014 (click link to download)

Note: JDK configuration online A lot, not reported here; JDK and JRE differences (interested can click to view)

1. Tomcat Configuration

It is easy to install using MyEclipse and the Tomcat compression pack above.

1) First configure the JKD environment.

2) Install the MyEclipse, the process to solve their own

3) then extract the apache-tomcat-7.0.52 to any directory (do not know if the path contains Chinese will not be a problem, it is recommended not to include Chinese, to avoid the possibility of the character encoding is not supported)

4) Open MyEclipse and find Tomcat 7.x, window-> Preferences-MyEclipse, Servers, in the right panel, "Enable" T Omcat 7.x Server, click the button "Browse ..." Specify the path to the apache-tomcat-7.0.52 that you just unzipped, (note that the next subdirectory of the specified path is directly containing subdirectories such as bin and conf, such as Bin directory D:\apache-tomcat-7.0.52\ APACHE-TOMCAT-7.0.52\BIN Specifies D:\apache-tomcat-7.0.52\apache-tomcat-7.0.52 and cannot be D:\apache-tomcat-7.0.52)

5) Click Apply or "OK" to confirm the reboot, even if the configuration is OK

6) Next demonstrate the creation of the simple first Web project.

Note: How do you know if you have a successful configuration:

2. First Web project

Web--java Web Project Tomcat configuration with the first Web project creation

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.