Started learning JSP for a long time, there are many examples of JSP integration on the web, but there are many problems.
For apache+tomcat+mysql+jsp+php consolidation, there is a slight difference between the different Tomcat and Apache versions.
Even if you are good at E, it is not always possible to see the Manual of Tomcat and Apache. Summer vacation at home, the speed is not like at the Jiaotong University---Ox pull broken car kind of slow, so based on the author of a large number of online data, the essence of the article, write this paper hope to provide convenience for beginners, can also be used as a reference manual of experts.
JSP is excellent, it is based on Java technology, using Javabean/servlet to make dynamic Web sites, Java powerful object-oriented programming makes JSP relative to PHP and ASP has a unique advantage. But learning JSP is difficult compared to PHP and ASP.
I think one of the reasons is that the JSP server environment is a bit tricky to configure. For dynamic Web page making, in the Jiaotong University ASP has a long time to occupy the upper hand, not too many "master" (perhaps many people think that using JSP is a master) use JSP, the more successful JSP website such as Century Star Network (TOMCAT), Network Education Institute website (Resin), the college Enrollment and Employment Network ( TOMCAT), the server is Linux 9, running relatively stable and reliable. Apache and Tomcat integration under Linux I have sent an article, need everyone in Jincheng search. Linux and Windows integration ideas are the same, using Apache to parse *.html/*.htm static Web pages, and when encountering *.jsp and servlet, the JSP page is tossed to tomcat (or resin) via a module in Apache. To deal with, in Linux by compiling to make this module, to trouble some, this article through the ready-made win under a module to complete the integration.
No more nonsense, start the integration below:
The required software
(1) J2sdk-1_4_2-windows-i586.exe
The JDK version relationship is not very large and does not affect the integration of Apache and Tomcat, so be aware of some of the things you can do to configure your environment variables.
(2) Apache_2.0.49-win32-x86-no_ssl.exe
The Apache version does not have much impact on consolidation, but it is best to take advantage of this version.
(3) Jakarta-tomcat-4.1.30.exe
The version is best with this version, others I have not tried, there may be a result of the integration is unsuccessful.
(3) Php-4.3.3-win32.zip
is a compression package, download down directly decompression on the line.
(4) Mod_jk.dll
This module is placed in the module in Apache, which is used to communicate between Tomcat and Apache.
(5) Mysql-max-3.23.46a-win.zip
Database MySQL, whose version has little impact on consolidation.
(6) JDBC Driver
MySQL driver, and the database is connected with the
The above software I will not put down the address posted out, to online search Baidu, North Skynet, as long as the intention to find, should not be a big problem, if you really can't find, send a letter to me.