Since my friend asked what I had to do before I developed JSP, I wrote this stuff. If you have a master, please correct it, don't flatten me! :)
Preparation 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 Tools J2SDK is required, the other two can be selected, I heard that Eclipse plus Lomboz is also good (Eclipse is IDE, ie integrated development environment, Lomboz is a plugin, it is said to debug JSP)
My installation directory (can be customized): c: /j2sdk1.4.0_01c: / tomcat5 specific setting (Win2000 Pro): JSDK & Tomcat My Computer / Properties / Advanced / Environment Variable System Variable PATH Variables Add C: / J2SDK1 . 4.0_01 / bin; c: / tomcat5 / bin (previously added; end one statement) New system variable, variable name ClassPath variable 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 joins set java_home = c: /j2sdk1.4.0_01set tomcat_home = c: / tomcat5set catalina_home = C: / Tomcat5
JCREATOR menu configure / options point left menu JDK Profiles Double-click J2SDK1.4.0_01 (Nuffly Built) Home Path For JSDK Paths Classes for class file packet add, add path to add a directory path, add archive to add a file below to add File: c: /j2sdk1.4.0_01/jRE/Lib/rt.jarc: /j2sdk1.4.0_01/lib/dt.jarc: /j2sdk1.4.0_01/lib/tools.jarc: /j2sdk1.4.0_01/jre /LIB/EXT / DNSNS.jarc:/J2SDK1.4.0_01/jre/lib/ext/ldapsec.jarc:/J2SDK1.4.0_01/JRE/LIB/Ext/localedata.jarc:/J2SDK1.4.0_01/jRE/LIB /EXT/Sunjce_Provider.jarc: /cat5/common/lib/jsp-api.jarc:/tomcat5/common/lib/servet-api.jar
In general, you first finished running JCREATOR, it will want you to set something, generally it will find the J2SDK directory, help you add these things (just the JCREATOR settings), but Tomcat two JAR files To add 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 settings for WebLogic8.1 and Resin in the future (if needed ^ _ ^)