To configure a JSP interactive Web site

Source: Internet
Author: User
Tags microsoft sql server sql server driver new set tomcat

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.
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.