MyEclipse download and installation has been explained before, here is not much to say, the following directly into the topic
1) Add JDK Path
Menu (Main menu)->window (window)->preferences (preferences)->java->installed JREs (Installed JRE), click Add.
Browse the path of the JDK, click OK
2) Setting up the server
In the menu bar, select Window--Preferences ... (preference) "--" myeclipse "--" Servers "--" Tomcat "--tomcat6.x
Set the Tomcat server to "Enable" and set the "Tomcat Home directory" to the Tomcat6.0 installation directory, and the other directory options will be automatically generated.
Then select Tomcat6.x--jdk, and in the Tomcat JDK name, select the JDK that you added earlier.
3) Configure default encoding
is still the window in the menu bar--Preferences ... (preference) "--" general "--" content type (contents Types) "--" text ".
Then enter "UTF-8" in "Default encoding" and click "Update" to "Update" to "UTF-8" for "Java class files (Java Properties file)" and other character encodings.
4. New Project
New->web project, file, main menu
Right-click src--new--Package
Right-click Package--new--java Class
Right-click webroot--new--jsp
5. Publish Settings
Right-click the project name--myelipse--add and Remove project deployments, point to ADD
Select the tomcat6.x that you just configured in the server
Then the mouse selected tomcat6.x, point "redeploy" to publish, later engineering updates, also here to publish updates.
6. Start the Web service
7. Final view of running results
This address: http://bbs.it-home.org/thread-1087-1-1.html
Content Source: Programmer's Home (http://bbs.it-home.org/)
MyEclipse configuring Tomcat, JDK, and publishing the first Web project