Tomcat environment configuration in eclipse
1) The Tomcat plugin in eclipse downloads:
Http://www.eclipsetotale.com/tomcatPlugin.html Select the Tomcatpluginv331.zip version of the plugin download,
Unzip to get file com.sysdeo.eclipse.tomcat_3.3.1,
Put the file in the plugins directory in eclipse
2) Open Eclipse, select Window->perferences -> server -> runtime environments
3) in the pop-up box, select Add to the right, then select the Tomcat version installed in the Apache directory
4) Click Next, set the Apache Tomcat installation path in the pop-up window, and select the installed JDK version below.
5) Click Finish to complete the runtime evironments configuration,
Click OK to complete the basic configuration of Tomcat.
2. Running helloworld!
Create a server project that guarantees a web run environment.
1) Open file->new->others, select Server under Server directory in the popup box, click Next,
Then select the appropriate version of Tomcat on the Server Settings page, click Finish.
Web project Creation
1) Select File->new->other, select Web->dynamic Web Project in the popup box, click Next,
Eject the Project creation page, enter HelloWorld in Project name,
Then click Finish to complete the HelloWorld project creation.
new index.jsp file
1) Select HelloWorld folder under Webconnent project directory, right click to select New->jsp file,
Enter index.jsp to the right of the file name of the popup, click Finish to complete the index.jsp creation.
2) Double hit Open index.jsp, enter 3) Select HelloWorld Project, right click to select Run As->run on server, select Server for Tomcat version in the Popup box, click Finish, run HelloWorld project
2 . Click the Orader and Export option in the Java Build path interface to select Tomcat.
Tomcat environment configuration in eclipse