Tomcat configuration in Win2000
1. Prepare atat5.0 and j2sdk1.4.
Web site: http://java.sun.com/j2se/1.4.2/download.html download windows%j2sdk-%4_2_03-windows-i586-p.exe
Http://jakarta.apache.org/tomcat/index.htmldownload jakarta-tomcat-5.0.16.exe.
2. install and configure j2sdk
Choose Start> set> Control Panel> system> advanced> environment variable> system variable, and click Create ].
Java_home = C:/j2sdk1.4.2 _ 03
Path = % java_home %/bin
Classpath = C:/j2sdk1.4.2 _ 03/lib/tools. jar; C:/j2sdk1.4.2 _ 03/lib/dt. jar;
3. install and configure Tomcat
4. Change the tomcat configuration file
Conf/server. XML (add three lines marked as 1, 2, and 3)
.........
<! -- Tomcat root context -->
<! --
<Context Path = "" docbase = "root" DEBUG = "0">
-->
1<Context Path = "customer" docbase = "F:/customer" DEBUG = "0"
2Crosscontext = "true" reloadable = "true">
3</Context>
</Host>
</Engine>
</Service>
</Server>