To configure a JSP interactive website

Source: Internet
Author: User

Network Operating System: Windows2000server, JSP server: Tomcat5.0, database: SQLServer2k, Java Virtual Machine: JDK1.4

 

Step 1:

Install JDK1.4 (directory: C: JDK1.4)

 

Step 2:

Install SQLServer2k. (Default directory)

 

Step 3:

Install Tomcat5.0. This server is bundled with Apache, which saves the trouble of manual bundling. (Directory: C: tomcat)

 

Step 4:

Install Microsoft SQL Server 2000 Driver for JDBC. (Default directory)

 

Step 5:

System environment variable settings: In the user variables of Administrators: 1. create a classpath variable. The variable value is c: jdk1.4bintools. jar; c: jdk1.4libdt. jar; C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmsbase. jar; C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmssqlserver. jar; C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmsutil. jar; 2. new path variable value: c: jdk1.4bin; c: jdk1.4; C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmsbase. jar; C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmssqlserver. jar; C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmsutil. jar; 3. create the set java_home variable value: c: jdk1.4 4. new set tomcat_home variable value: c: tomcat

 

Step 6:

Copy the Three jar files (msbase. jar, mssqlserver. jar, and msutil. jar) under C: tomcatcommonlib in Microsoft SQL Server 2000 Driver for JDBClib to C: tomcatcommonlib.

Step 7:

Restart the system to make the environment variable settings take effect. Start the Apachetomcat service and enter 127.0.0.1 in the browser. The default welcome page of tomcat is displayed.

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.