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.