js| interaction
Network operating system:windows2000server,JSP server:Tomcat5.0, database:sqlserver2k,JAVA Virtual machine:JDK1.4
Step One:
Install JDK1.4(directory: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:
Install 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.4\bin\tools.jar;c:\jdk1.4\lib\dt.jar; C:\Program Files\Microsoft SQL Server Driver for Jdbc\lib\msbase.jar; C:\Program Files\Microsoft SQL Server Driver for Jdbc\lib\mssqlserver.jar; C:\Program Files\Microsoft SQL Server Driver for Jdbc\lib\msutil.jar;
2. new Path variable
Variable value:c:\jdk1.4\bin;c:\jdk1.4; C:\Program Files\Microsoft SQL Server Driver for Jdbc\lib\msbase.jar; C:\Program Files\Microsoft SQL Server Driver for Jdbc\lib\mssqlserver.jar; C:\Program Files\Microsoft SQL Server Driver for Jdbc\lib\msutil.jar;
3. new set java_home variable
Variable value:c:\jdk1.4
4. new set tomcat_home variable
Variable value:c:\tomcat
Step Six:
Copy C:\Microsoft SQL Server Driver for Jdbc\lib under three jar files (msbase.jar,Mssqlserver.jar ,Msutil.jar) to C:\tomcat\common\lib\
Step Seven:
Reboot the system to take effect on the settings for the environment variable. Starting the apachetomcat service and playing 127.0.0.1in the browser will see Tomcat 's default welcome interface.