Network operating system: WINDOWS2000SERVER,JSP server: Tomcat5.0, Database: Sqlserver2k,java virtual machine: JDK1.4
Step One:
Installation JDK1.4 (catalog: c:jdk1.4)
Step Two:
install sqlserver2k. (default directory)
Step Three:
install Tomcat5.0. This server is bundled with the Web server Apache, eliminating the hassle of manual bundling. (Table of Contents: C:tomcat)
Step Four:
installs Microsoft SQL Server Driver for JDBC. (default directory)
Step Five:
System environment variable settings: In the Administrators user variable: 1. New classpath variable, variable value: C:jdk1.4bintools.jar;c:jdk1.4libdt.jar; C:Program FilesMicrosoft SQL Server Driver for Jdbclibmsbase.jar; C:Program FilesMicrosoft SQL Server Driver for Jdbclibmssqlserver.jar; C:Program FilesMicrosoft SQL Server Driver for Jdbclibmsutil.jar; 2. New PATH variable variable value: c:jdk1.4bin;c:jdk1.4; C:Program FilesMicrosoft SQL Server Driver for Jdbclibmsbase.jar; C:Program FilesMicrosoft SQL Server Driver for Jdbclibmssqlserver.jar; C:Program FilesMicrosoft SQL Server Driver for Jdbclibmsutil.jar; 3. New set java_home variable value: c:jdk1.4 4. New set tomcat_home variable value: C:tomcat
Step Six:
copy C:Microsoft SQL Server Driver for jdbclib under three jar files (Msbase.jar,mssqlserver.jar,msutil.jar) to C: Tomcatcommonlib under
Step Seven:
reboot the system to take effect on setting the environment variable. Start the Apachetomcat service, call 127.0 0.1 in the browser, and see the default welcome interface for Tomcat.