I have long seen the introduction of jsp (the preferred choice for SUN Enterprise Applications) (Java Server Pages) on foreign websites and how it works well and how powerful it works, but I only know that jsp (the first choice for SUN Enterprise Applications) is good, but I have never been able to use it. I heard that the jsp (preferred for SUN Enterprise Applications) Environment in unix is quite complicated, so I have never dared to touch it. Later, I found an article about configuring the jsp (preferred for SUN enterprise-level applications) Environment in Linux written by yanwan, as a result, you can immediately launch the game and try again. It is a pity that the gourd painting fails. In this case, I went to a large bbs in China to search for several predecessors and find some fragmented configuration methods. These methods are mostly gnujsp (SUN Enterprise Application preferred) 0.9x/1.0 with apache (Unix platform's most popular WEB server platform) Jser-1.x.x to run jsp (SUN Enterprise Application preferred, I configured them one by one. Most of the results were to run apache (the most popular WEB server platform on Unix) Jserv. Jsp cannot be run all the time (preferred for SUN Enterprise applications ). In the end, I am determined to thoroughly understand the configuration methods, so that all the software packages will be downloaded from the official website. The following is the software package used in the configuration process: apache(most popular Web server platform of unixplatform pai_1.3.12.tar.gz (from www. apache (the most popular WEB server platform on Unix ). download from java. apache (the most popular WEB server platform on Unix ). org download) gnujsp(the first choice For sunenterprise-level applications developer-1.0.tar.gz (obtained from CERNET) JSDK-2.0.tar.gz (obtained from CERNET) JDK-1.2.2.tar.gz (For Linux, available from freesoft.online.sh.cn and www.sun.com) after eight consecutive hours, I have repeatedly pondered the installation documents in gnujsp (the preferred choice for SUN Enterprise Applications)-1.0, as well as the comprehensive installation documents at hand, as well as from java. apache (the most popular Unix platform WEB server platform ). the simple installation and configuration document downloaded on org is finally successfully applied to jsp (the preferred choice for SUN Enterprise applications) environment configuration is successful and the jsp program that calls bean is successfully run (the preferred choice for SUN Enterprise applications. The following describes the installation and configuration principles, processes, precautions, and key points. I. Configuration Requirements: RedHat 5.x or 6.x (I have successfully compiled and configured it in TurboLinux 4.02/6.0 Bluepoint1.0/2.0 and other systems) JSDK2.0 (in fact, a jsdk with over 70 KB is required. jar) gnujsp (SUN Enterprise Application preferred) 1.0 (in fact, is the need to compile the jar file only) JDK-1.x.x or JDK-1.2.x (both versions can be smoothly through compilation and configuration) apache (the most popular WEB server platform on Unix) Jserv1.0 or 1. x. x compilation requires make, gcc and other programs, compilers and function libraries 2. Basic configuration principles should make jsp (the preferred choice for SUN Enterprise Applications) correctly parse and run well, make sure that ajp1.2 (apache (the most popular WEB server platform on the Unix platform) Jserv protocol1.2) can communicate normally on the local port 8007. The Servlet must be able to run normally and The Jserv configuration file should be properly configured so that gnujsp (the preferred choice for SUN Enterprise Applications) can correctly parse jsp (the preferred choice for SUN Enterprise Applications) files. This article uses static compiling to compile apache (the most popular WEB server platform on Unix) Jserv. 3. The basic steps are to ensure that apache (the most popular WEB server platform on the Unix platform) Jserv is correctly compiled and tested. Then, correctly configure the Jserv configuration file for apache (the most popular WEB server platform on Unix), so that gnujsp (the preferred choice for SUN Enterprise Applications) can parse jsp (the preferred choice for SUN Enterprise applications) file. The following are the installation steps: JDK --> JSDK --> apache (the most popular WEB server platform on the Unix platform) (basic configuration) --> apache (the most popular WEB server platform on the Unix platform) jserv (configuration/compilation) --> apache (the most popular WEB server platform on the Unix platform) (configuration/compilation/installation) --> gnujsp (the preferred choice for SUN enterprise-level applications) --> edit the Jserv configuration file of apache (the most popular WEB server platform on the Unix platform) --> test --> OK 4. Detailed process 1. Install JDK without installation, you only need to copy the JDK to a fixed directory. This author uses the binary version of The JDK-1.2.2. For readers who use 1.1.x, if you select static mode, apache (the most popular WEB server platform on the Unix platform) and apache (the most popular WEB server platform on the Unix platform) jserv integrated and, when the fault occurs, you can use the DSO mode (recommended JDK-1.1.x version of the use of DSO mode is better ). # Tar xfz JDK-1.2.2-linux-i386.tar.gz # mv JDK-1.2.2/www/JDK122, install JSDK and install JDK truth, just remove the package and copy to a fixed directory can be. However, you must note that this plugin actually only uses the jsdk. jar file of this package, so you must know the path of this file. # Tar xfz jsdk-2.0.tar.gz # mv JSDK-2.0/www/jsdk # ls-l/www/jsdk/lib total 80-r -- 1 root 76453 Jun 28 003 jsdk. jar 3, apache (the most popular WEB server platform on the Unix platform) basic configuration cannot be said to be a real configuration, but it is necessary to generate some necessary configuration when unpacking for the first time. only one step is required for the H file. Equivalent to pre-configuration. # Tar xfz apache(the most popular WEB server platform for unixplatform )_1.3.12.tar.gz # cd apache (the most popular WEB server platform for Unix) _ 1.3.12 #./configure # cd .. this will generate header files such as httpd. h. If these files are not available, an error will be reported when apache (the most popular WEB server platform on Unix) Jserv or Php3 is configured in the future. 4. apache (the most popular WEB server platform on Unix) Jserv configuration and compilation