First, JDK + eclipse + Tomcat development environment is required, and then Tomcat plug-in is installed to enable Tomcat startup in the development environment.
Download http://www.eclipsetotale.com/tomcatPlugin/tomcatPluginV33.zip
Decompress the package to the eclipse plugins directory and restart eclipse.
Go to Windows> preferences to find Tomcat and configure it to your tomcat installation path.
You can see the Tomcat enable and disable buttons in the upper-left corner.
OK.
Create a JSPProgram:
Select to create the following project
Create a simple JSP application. After compiling, right-click the project and export the war package.
Note that the class-path is added to the manifest. MF file:
Manifest-version: 1.0
Class-path: lib/xxx. Jar
Copy the war package to the webapps under the tomcat installation directory.
After Tomcat is started, the war file is automatically decompressed under this directory.
Enter localhost: 8080/Hello/test. jsp in the browser
You can see that your JSP program is successful.