Tomcat server in WIN98/2000

Source: Internet
Author: User
Tags mssql server

Method 1:
System Environment:
1. Operating System: Windows 2000 professional
2. Software: JBuilder 4.0.
3. installation path: C: JBuilder4
In this example, the software is used:
1. JBuilder (JBuilder4 has integrated Jdk1.3 and Tomact3.1, and JBuilder has added the JSP program development function .)
Installation Method:
1. Install JBuilder
Step 1: Install JBuilder under C: JBuilder4; then Jdk and Tomact are automatically installed under C: JBuilder4jdk1.3 and C: JBuilder4omcat;
Step 2: Update Environment Variables
Start> Settings> Control Panel> system> advanced> environment variables> System Variables
Append CLASSPATH: C: JBuilder4jdk1.3inools. jar; C: JBuilder4jdk1.3libdt. jar;
Append PATH: C: JBuilder4jdk1.3; C: JBuilder4jdk1.3in
2. Set Tomcat
Step 1: Go to the C: JBuilder4omcatin directory, find the startup. bat batch file, and open the Edit
Line: Add the following two lines after start:
SET TOMCAT_HOME = c: jbuilder4omcat
SET JAVA_HOME = c: jbuilder4jdk1.3
Step 3: Double-click startup. bat to start the tomcat server
At this time, a dos window appears on the screen, which does not stop, and some running success tomcat and initialization information, proving that tomcat is running successfully.
Step 4: Enter http: // localhost: 8080/or http: // 127.0.0.1: 8080 in the browser
If you can see the Tomcat Version 3.1 page, it indicates that Tomcat is successfully installed.
There are some examples of jsp and servlet, so far the jsp environment has been built. Note: The above DOS window cannot be closed, otherwise the tomcat server will stop the service.
Note: JSP files run slowly for the first time
Method 2:
The database server is installed by mssql server by default.
Jdk is 1.4, download page: http://java.sun.com/j2se/1.4/index.html
It is also installed by default.
Jsp server is Jakarta TomCat 4.0, now the latest is 4.0.4, download page: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4-b2/
Or install jdk by default.
Add the following lines in autoexec. bat:
PATH = "% PATH %"; C: PROGRA ~ 1 micros ~ 180 TOOLSBINN; C: JDK140; C: JDK140BIN
Set JAVA_HOME = c: jdk140
Set TOMCAT_HOME = c: omcat40
Set classpath =.; C: JDK140LIBmerlia. jar; C: JDK140LIBdt. jar; C: JDK140LIBools. jar; C: JDK140LIBhtmlconverter. jar
Note the merlia. jar in classpath. This is the jdbc driver of inet and is of type 4.

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.