[Java development environment configuration] eclipse installation, development of Web projects with Tomcat
\1. The version is "eclipse-jee-photon-R-win32-x86_64". If it is a complete program, it can be used directly after decompression. If only the bootloader is installed, double-click to install.
As shown in the figure, the compressed package is the full version, and the exe is the installation guide.
\2. Choose javaEE developer
\3. Choose a suitable directory to install
\4. Accept the agreement in the middle
\5. Choose remember and accept
\6. Open and try
\7. Set a default project directory (workspace), open
\8. Create a new JavaEE project
\9. Name the project and set the default runtime environment.
\10. Select Tomcat9 (the Tomcat version here is based on the version installed by itself, here is Tomcat9), then select next, and then select the directory of Tomcat installed above. Then finish, then finish.
\11. The default project directory is like this.
\12. Right mouse button webcontent, new, JSP file
\13. Name the JSP file index, and then finish
\14. Write a sentence in the body tag. Then save.
\15. Right-click the entire project icon, run as, run on server
\16. The default setting is fine, finish
\17. The browser that comes with Eclipse will display the web page.
\18. You can also enter the address in an external browser to view the results. So far, tomcat and eclipse are installed and can work together correctly.