Use eclipse to develop dynamic web projects

Source: Internet
Author: User

Because myeclipse is a paid tool and takes into account infringement, eclipse is used as a tool for developing web projects. However, when developing and using various frameworks, You need to manually install plug-ins or configure them, the following describes the process of developing, releasing, and running a web project.

1. Environment: win7, jdk1.6, eclipse Java ee ide for Web developers: Version: indigo Service Release 2

2. Create a Tomcat server

Select "servers" in the console to create a server.

In this red circle, you can download other recommended web containers, such as small jetty.

3. Create a web project:

New-> new project-> Web-> dynamic web project

4. Create an index. jsp file, which is not automatically generated by default.

<Body>
Welcome to eclipse for J2EE Developer Center. Welcome!
<% = New date (). tolocalestring () %>
</Body>

5. Release a project:

Right-click the server under the "servers" option and choose add and remove...

Add and finish, OK.

6. Start the Tomcat service:

Right-click the server under "servers", and select start and OK.

Access: http: /localhost: 8080/dynamicweb/normal

Readers must study other frameworks and components on their own.

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.