Eclipse Create Java Web project

Source: Internet
Author: User

1. Download the Windows version of JDK and Tomcat.

D:\Java\jdk1.7.0_79 Oracle Website Download

D:\apache-tomcat-7.0.90

Http://mirrors.shu.edu.cn/apache/tomcat/tomcat-7/v7.0.90/bin/apache-tomcat-7.0.90-windows-x64.zip

Installing the Eclipse software

2, switch to the new workspace D:\Users\Administrator\tomcat7.

3. Configure fonts

4. Set the encoding

5. Add Server

6, configure the server, that is, configure the Tomcat and JDK parameters.

7. Set the server code storage location.

Select the middle option to configure the save. (Convenient selection of code storage paths between projects)

8. Create a Dynamic Web project.

9. Testing Web Services

Create an HTML file,

Edit the index.html file.

<! DOCTYPE html>

<meta charset="UTF-8">

<title>insert title here</title>

<body>

</body>

10, run to the server (run on server),

View the project catalog,

Eclipse Create Java Web project

Related Article

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.