The first step is to install: jdk
(1) Install jdk (default installation) (2) Select system variables under environment variables and select New:
1) Variable name: JAVA_HOME
Variable value: X:jdk ("X" is the drive letter where jdk is installed)
2) Variable name: CLASSPATH
Variable value: .;%java_home%lib;%java_home%libtools.jar
Find PATH in the system variable, double-click it, add a semicolon and X:jdkbin after the variable value
(3) Check whether the installation is successful in cmd. The command is: (java –version)
Second step installation: Tomcat
(1) Install Tomcat (default installation) and check (NTservice).
(2) Open IE and enter: http://localhost:8080/index.jsp
3. The third step is to install: mysql (default installation)
4. X:Tomcatconfserver
5. Copy the web program to the X:Tomcatwebapps directory
6. Copy the data folder to the X:mysqldata directory
7. Copy the driver files to: X:Tomcatwebappsweb_inflib
X:Tomcatcommonlib directory
8. Go back to the system variables under environment variables, double-click CLASSPATH, and copy (X:Tomcatcommonlib) and (X:Tomcatcommonlibmm.mysql-2.0.4) to the variable values.
http://blog.csdn.net/yustar/archive/2007/01/23/1491268.aspx