In the system of No. 3.24, I wrote all the Java examples, pain. After another 3.25 reloading system, reloading Eclipse, Tomcat, and the harvest is not small, and the previous configuration environment has been reviewed. Summarized as follows:
1. Install the JDK to configure environment variables; Java environment variable settings: New Java_Homec: / J2SDK / BIN; New ClassPath .; c: /j2sdk/lib/dt.jar; c: /j2sdk/lib/tools.jar2, install Eclipse3, Install Tomcattomcat Environment Variable Settings: New Tomcat_Homec: / Tomcat 5.0 Add: C: / Tomcat 5.0 / Common / Bin4 to ClassPath, Install TomcatPlugins35, set TomcatWindows> Property> Tomcat6 in Eclipse, create a webapp directory (copy root directory), And rename Test7, update ClassPath: Add C: / Tomcat 5.0 / WebApps / Test / Web-INF / CLASSES to ClassPath 8, Test Test's servlet without packaging (TEST / WEB-INF / CLASSES /) Servlet test URL : http: // localhost: 8080 / test / servlet / servlets: http: // localhost: 8080 / test / servletname, PackageName.ServletName, PackageName.ServletName, Test / Test / SERVLEES / PACKAGENAME