Because my friend asked me to develop JSP before all to do something, wrote this article Dongdong.
If a master mistakenly entered, please correct me, do not beat me Oh! :)
Pre-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 tool
J2SDK is a must, and the other two are optional, and I hear that Eclipse plus Lomboz is good (Eclipse is the IDE,
The integrated development environment, LOMBOZ is one of its plug-ins, is said to debug JSP more convenient)
My installation directory (customizable):
C:j2sdk1.4.0_01
C:omcat5
Specific settings (Win2000 Pro):
JSDK & Tomcat
My Computer/attributes/Advanced/environment variables
System variable Path
Variable value added to c:j2sdk1.4.0_01in; c:omcat5in (precede this sentence with; End Previous statement)
Create a new system variable with variable name classpath
Variable value c:omcat5commonlib;.; C:j2sdk1.4.0_01lib;.
(Don't forget to add the back. Oh!!)
Tomcat
Edit C:omcat5instartup.bat
Join
Set java_home=c:j2sdk1.4.0_01
Set TOMCAT_HOME=C:OMCAT5
Set CATALINA_HOME=C:OMCAT5
JCreator
Menu Configure/options
Point left menu JDK Profiles
Double-click j2sdk1.4.0_01 (New one none)
Home path is JSDK path
Classes for class packages
Point Add,add path for adding directory paths, add archive for adding files
The following are the files to add:
C:j2sdk1.4.0_01jrelib T.jar
C:j2sdk1.4.0_01libdt.jar
C:j2sdk1.4.0_01lib Ools.jar
C:j2sdk1.4.0_01jrelibextdnsns.jar
C:j2sdk1.4.0_01jrelibextldapsec.jar
C:j2sdk1.4.0_01jrelibextlocaledata.jar
C:j2sdk1.4.0_01jrelibextsunjce_provider.jar
C:omcat5commonlibjsp-api.jar
C:omcat5commonlibservlet-api.jar
In general, the first time you install the run JCreator, it will want you to set something, generally its own
Will find the J2SDK directory to help you add these things (just jcreator settings oh), but
Tomcat that two jar files to add yourself! In addition, in many books, Jsp.jar and Servlet.jar.
Is that I added the above two files, probably because of different versions, so the name changed it:
Ok! Finish the above settings, the basic settings have been completed, try it yourself!
By the way, I will add some WebLogic8.1 and resin settings if necessary (^_^)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.