Configuring the JDK, installing Tomcat, loading the myeclipse, the process not only takes time, but also breaks the heart. (Knock on the blackboard!) Experience shows that the Tomcat version is consistent with the JDK, and the version of MyEclipse is not too low, otherwise it is prone to error, after several twists and turns, finally in the lab classmate recommended the use of Eclipse, the following began to enter the topic.
To run a JSP file in Eclipse, build your Web site and install the Tomcat server first.
1. Install Eclipse and Tomcat.
2. Open Eclipse-->preferences-->server-->runtime Environment
3. Click the Add button in the upper right---adds the installed Tomcat
4. Configure the Tomcat installation directory
Well, there is another problem, that is, now eclipse does not support TOMCAT8, so the TOMCAT7 will not be an error.
Eclipse Configuration Tomcat