JSP development front rookie setup articles
Author: danielmouse due friend asked me what should be done before the development of JSP, wrote this stuff.
If you have a master, please correct it, don't flatten me! :) Prepare software: J2SDK-1_4_0_01-windows-i586.exe ----- JSDK Java Development Kit Jakarta-Tomcat-5.0.18.zip ----- Tomcat5 Server JCPRO300.ZIP ---- JCREATOR3 .0 Java Compilation Tool J2SDK is necessary, the other two can be self-selected, I heard that Eclipse plus Lomboz is also good (Eclipse is IDE, ie integrated development environment, Lomboz is a plugin, which is said to debug JSP) My installation directory (Customized): C: /J2SDK1.4.0_01 C: / Tomcat5 Specific Settings (Win2000 Pro): JSDK & Tomcat My Computer / Properties / Advanced / Environment Variable System Variable PATH Variables Add C: /J2SDK1.4.0_01 / bin; c: / tomcat5 / bin (before the sentence; the previous statement) New system variable, the variable name ClassPath variable value C: / tomcat5 / common / lib ;.; c: /j2sdk1.4.0_01/lib Don't forget to add it later. Oh !!) Tomcat editing C: /tomcat5/bin/startup.bat Add set java_home = c: /j2sdk1.4.0_01 set tomcat_home = c: / tomcat5 set catalina_home = C: / Tomcat5 JCREATOR menu configure / options Point left menu JDK PROFILES Double-click J2SDK1.4.0_01 (None New One) HOME PATH for JSDK Path Classes for class file packet add, add path to add directory path, add archive to add files below Added files: C: /J2SDK1.4.0_01/jRE/Lib/rt.jar C: /J2SDK1.4.0_01/lib/dt.jar c: /j2sdk1.4.0_01/lib/tools.jar C: / J2SDK1. 4.0_01 / jre / lib / ext / dnsns.jar c: /j2sdk1.4.0_01/jre/lib/ext/ldapsec.jar c: /j2sdk1.4.0_01/jRE/lib/ext /localedata.jar c: /j2sdk1.4.0_01/jre/lib/ext/sunjce_provider.jar c: /tomcat5/common/lib/jsp-api.jar c: /tomcat5/common/lib/servlet-api.jar is general For the first time you have finished running JCREATOR, it will want you to set some things, usually it will find the J2SDK directory, help you add these things (just jcreator settings), but Tomcat two JAR files Add it yourself! In addition, jsp.jar and servlet.jar in many books are the two files I added above, maybe because the version is different, so the name is changed :) OK! After doing the above settings, the basic settings have been completed, try it yourself! Yes, if you need me, I will add some of WebLogic8.1 and Resin's settings (if needed ^ _ ^) into: Dynamic Network Production Guide www.knowsky.com