Installation of Asp+php+mysql+jsp+xsl+xml under Win2K

Source: Internet
Author: User
Tags xsl zip tomcat tomcat server
It is very rare to see such a comprehensive installation instructions, I believe it is helpful to everyone.
My operating system: WINDOSWS Pro version
Required Software:
1, IIS 5.0
2, Jdk-1_2_2-win.exe
3, Jakarta-tomcat.zip
4. Php-4.0.0-win32
5. Mysql-3.23.36-win
6. dbtools-manager-1.0.8
7. Gyxml
8. Java API for XML parsing 1.0.1
9. Mm.mysql.jdbc-2.0pre5.tar
Installation method:
(Install IIS 5.0 first in the WINDOSWS Pro version)
First, install the JDK
①, double-click the Jdk-1_2_2-win.exe file for installation, install using the default configuration, and the default installation directory for the JDK is the D:JDK1.2.2,JRE default installation directory for D:program FilesJavaSoftJRE1.2;
②, updating environment variables
Start-> Setup-> Control Panel-> System-> Advanced-> Environment variable-> System variable
Append Classpath:d:jdk1.2.2lib ools.jar;d:jdk1.2.2libdt.jar;c:mm.mysql.jdbc-2.0pre5;cmm.mysql.jdbc-2.0pre5mysql_1_ Comp.jar;
Append path:d:jdk1.2.2;d:jdk1.2.2in;
Second, the installation of Tomcat
①, use WinZip to extract Jakarta-tomcat.zip to D:jakarta-tomcat directory
②, go to the D:jakarta-tomcatin directory, locate the Startup.bat batch file, and open the edit
Line: After start, add the following four lines:
SET Tomcat_home=d:jakarta-tomcat
SET java_home=d:jdk1.2.2
SET Classpath=d:jdk1.2.2libdt.jar
SET Classpath=d:jakarta-tomcatlibservlet.jar
③, double-click Startup.bat to start the Tomcat server
At this point, a DOS window appears on the screen, stops motionless, and there are some running successful tomcat and initialization information,
proves that Tomcat is running successfully.
④, enter http://localhost:8080/on the browser
If you can see the Tomcat Version 3.1 page, the Tomcat installation is successful.
There are some examples of JSP and servlet, the JSP environment is completed.
Note: The above Stop DOS window cannot be turned off, otherwise the Tomcat server stops the service (the JSP file runs slower for the first time)
⑤, first JSP example
Name the program test.jsp, and put it in the D:jakarta-tomcatwebappsexamples directory.
Enter http://localhost:8080/examples/test.jsp in Browser
<%
String Str = "Hello jsp!";
Out.print ("Hello jsp!");
%>
So far, the JSP environment has been built.
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.