Link Address: http://jingyan.baidu.com/article/3065b3b6efa9d7becff8a4c6.html
To run the JSP file in Eclipse, you first need to specify the corresponding server, that is, you need to bind eclipse with Tomcat, after the successful binding interface is as follows:
steps to read
Baidu Experience: jingyan.baidu.com
Tools/Materials
Baidu Experience: jingyan.baidu.com
Method/Step
Download and install Eclipse and Tomcat successfully (see my relevant experience for a problem with this step);
Open Eclipse, click on the "Window" menu and select "Preferences" below:
Steps to read
Locate the runtime environment under Server and click the Add button on the right:
Steps to read
Select the Tomcat version that has been successfully installed, and click Next:
Steps to read
To set the installation directory for Tomcat:
Steps to read
Once setup is complete, click OK to complete the setup!
steps to read END
How to configure the Tomcat server in eclipse