I have recently learned Java, I have some experience in the process of learning, and it is attached to facilitate beginners. Reference connection: Configuration of JSP, Servlet, and JavaBean environment under Tomcat Tomcat Raiders Note: 1. Set the environment variable java_home = Your JDK installation path. 2. If after Win98 is installed in Tomcat, prompt "Out of Environment Space" after running Startup.bat: indicating that the initial environment is insufficient, right-click Startup.bat, click "Memory" - "Initial Environment", Turn "Auto" to 2048. Simuse set ShutDown.bat. 3.Tomcat does not directly support Chinese, showing HTM, Chinese in HTML is garbled, the solution is as follows: Open Tomcat 4 / conf / web.xml View type HTM / HTML settings, set it to GBK or GB2312 :