1. Download Tomcat
the author chooses Tomcat6, the following:http://tomcat.apache.org/download-60.cgi, select the green version of the zip for download (currently the latest version of the Tomcat 6 Green Edition is Apache-tomcat-6.0.35.zip, the author has uploaded a to Csdn, is:http://download.csdn.net/detail/defonds/4486447).
2. Install Tomcat
to decompress the apache-tomcat-6.0.35.zip of the 1th step, the author unzipped it in the D-disk tools directory. Right click on My Computer, select Properties---advanced--environment variable--new system variable, variable name tomcat_home, variable value input d:\tools\apache-tomcat-6.0.35-> OK.
3. Download the Tomcat Eclipse plugin
Http://www.eclipsetotale.com/tomcatPlugin.html. The latest releaseNotesV33 can support the Tomcat 7 (Tomcatpluginv33.zip can support Eclipse 3.1, 3.2, 3.3, 3.4, 3.5, 3.6 and Tomcat 4.x, 5.x, 6.x, 7 . x. The author has uploaded it to the CSDN resource:http://download.csdn.net/detail/defonds/4486350).
4. Installing the Tomcat plugin
The tomcatpluginv33.zip extracted from the previous step is decompressed and the extracted com.sysdeo.eclipse.tomcat_3.3.0 files are copied to the plugins directory in the Eclipse root directory. Restart Eclipse, the icon appears in the toolbar to prove that the installation was successful.
5. Eclipse Tomcat Configuration
eclipse->window->preferences->tomcat, tick version 6.x,tomcat home to select the installation directory for the second step. Click the OK button.
6. Deploy JEE projects to Tomcat
Right click on the project name,properties->tomcat-> confirm is a Tomcat project has been ticked click OK button,%tomcat%/conf/catalina/localhost will have *.x ml file generation.
7. Start the Tomcat debugging project
The 3rd step is pressurized after the devloader.zip in the com.sysdeo.eclipse.tomcat_3.3.0 directory is decompressed to get the org file. Will get the file hit Jar package (command line useJAR-CVF Devloader.jar *) The resulting devloader.jar is copied to the Lib directory in the Tomcat installation directory. Eclipse Click the kitten buttonstart Tomcat to debug your JEE program with breakpoint tracking.
Eclipse Install Tomcatplugin Plugin