How to build a JSP environment on the server and what software needs to be installed?

web front end ten thousand and forty-one 13 years ago (2011-11-29)

Configure JSP The server The required software includes:

Software version number
jdk1.5.0_09
Mysql5.0 connector mysql-connector-java-5.0.4-bin.jar
Apache Tomcat 6.0

IIS does not need to be installed to configure multiple websites on the server. Tomcat has a special configuration file, server.xml, which only needs to add the specified domain name and website folder.

Configuration of java+jsp+tomcat+mysql development environment

Install jdk1.5.0_09 by default
Set environment variables
The installation directory of java_home jdk1.5.0_09 C: Program Files Java jdk1.5.0_09
path %java_home%\bin
classpath .;% java_home%\lib\dt.jar;% java_home%\lib\tools.jar;% java_home%\jre\lib\rt.jar

Apache Tomcat 6.0 is installed by default. Please change C: Program Files Java jre1.5.0_09 to C: Program Files Java jdk1.5.0_09 when selecting the running environment during installation
Install mysql5.0 by default
Put mysql-connector-java-5.0.4-bin.jar into C: Program Files Java jdk1.5.0_09 jre lib and C: Program Files Apache Software Foundation Tomcat 6.0 lib, and set the environment variable classpath C: Program Files Java jdk1.5.0_09 jre lib mysql-connector-java-5.0.4-bin.jar; C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\mysql-connector-java-5.0.4-bin.jar;