Eclipse Plug-in development Java EE Project
Many friends in the development of Web applications often use Myeclipse,myeclipse is a powerful IDE undeniable. But in many cases
MyEclipse is slow because myeclipse integrates a lot of plug-ins and these plug-ins are loaded at startup.
1. Download eclipse for Java EE on official website
2. Download the Eclipse Tomcat plugin
3. Unzip Eclipse
4. Unzip the eclipse Tomcat plugin into the plugins folder in Eclipse
5. Start Eclipse to see if it's successful
When you see three kittens, it proves that the plug-in integration was successful. It is possible to develop Web applications.
Eclipse Development web App
1. Build a Web Project
Click Dynamic Web Project
Click Finish to finish building
Although the project is completed but note that the root directory needs to be modified, refer to the Java EE specification
2. Modify the root directory
The changes are as follows:
Right-click the newly created project as follows:
Pop up the following window to make the following changes
Make the following changes to the position of the circle red:
3. Create a JSP page deployment test
4. Configure the Web container (Tomcat)
At this point Tomcat has been configured.
5. Configure the virtual directory (to not publish the project into Tomcat)
Open the Server.xml in the apache-tomcat-5.5.35\conf directory and make the following changes
Complete the configuration of the virtual directory.
6. Start the Server Browse Web project
Click on the kitten to start
Browse the Web project.
Success.