1. File ----> New ----> other ----> Web ----> dynamic web project
2. Next Select Add Project Project name: Tests Select tomcat configuration Select Tomcat I use Apache Tomcat v6.0.
3. Select finish 4. Add a toolset
Select here. No need to select next
5. Next 6. The configuration of next finish is complete. 7. Create a JSP file under the project tests webcontent 8. Project result 9. Double-click Modify JSP page: Add Hello eclipse Java Ee! 10. select servers in the toolbar.
11. Right-click a server in the blank space 12. Select the project you configured 12. Add-> 13. Select this option and finish! The Tomcat v6.0 Server Service appears. 14. Start the service. Right-click this item and start it to automatically jump to the console. Input the preceding information to indicate that the instance is successfully started. 15. Test In the address bar, enter http: // 127.0.0.1: 8080/tests/index. jsp. The following page is displayed, indicating that the project is successfully created!
Reprinted in http://hi.baidu.com/zhangna_307/blog/item/45d48708c45c9097d0581b41.html |