Sun released the JSP (Java Server Pages) is definitely an implementation of dynamic web pages about the server side development technology, which can be depending on Java technology. Once the implementation of JSP Internet server requirements to create a JSP page compilation engine. JSP atmosphere may be configured in various ways, but the most important employment is to set up and configure the Web server and JSP engine.
Here to Tomcat as the JSP engine, with Tomcat, Apache, IIS Web server to inform the story of these 3 3 JSP runtime environment to develop the plan.
1 software program description
1,
Office 2007 Professional, J2SDK: Java2 software program development tools, Java apps system foundation. JSP is depending on Java technology, therefore the configuration must be set up just before the JSP atmosphere J2SDK.
2, Apache server: Apache organization to create a frequent Internet servers, providing Web solutions.
three,
Windows 7 Download, Tomcat server: Apache organization to develop a JSP engine by itself includes a Internet server functionality can be utilized as stand-alone Internet server to make use of. Nonetheless, as Internet servers,
Microsoft Office Enterprise 2007, Tomcat when coping with static HTML pages quickly as Apache, Apache didn't robust, so we will typically be utilised along with Tomcat and Apache, so Apache static web page requests to the Web site to offer solutions as a dedicated Tomcat JSP engine for JSP parsing to obtain greater efficiency. And Apache Tomcat alone is a sub,
Microsoft Office 2010 Professional Plus, so Tomcat for Apache supplies a strong help. For starters, Tomcat is a really wonderful choice.
4, mod_jk.dll: Apache Jakarta challenge group advancement organization that supports Apache Tomcat plug-ins. With this particular plugin, Tomcat and Apache may be connected seamlessly.
five, tc4ntiis.zip: Apache Jakarta task team development organization that supports Tomcat IIS plug-ins.
2nd, the software program obtain
1, j2sdk
model: j2sdk1.four.1 (35.9MB)
Tackle:
2, Apache2
edition: Apache2.0.43 (6.69MB)
Tackle:
3, Tomcat4
Version: 4.1.21 (eight.33MB)
Tackle:
four,
Office 2007 Serial, mod_jk.dll: (136KB)
Tackle:
5, tc4ntiis.zip (220KB)
Address:
they're absolutely free software.
3 pre-configured prepared
one, get ready a test from the JSP web page
open a text editor for instance Notepad, enter the subsequent code and preserve it as test.jsp (be aware the extension. jsp).
JSP test web page
Whatever the program, set up and configure the JSP engine must be accomplished before the installation of J2SDK.
install J2SDK
in Windows, operate directly downloaded j2sdk-1_4_1_01-windows-i586. exe file, the installation wizard to install to a directory, such as set up with the f: / j2sdk one.four.1;
Add environment variable
one) If your operating program is Win 98, you'll be able to use Notepad to directly edit the Autoexec.bat, add the following command line:
Path =% PATH%; f: / j2sdk1.4.1/bin
SET JAVA_HOME = f: / j2sdk1.four.1
SET CLASSPATH = f: / j2sdk1.4.1/lib/tools.jar
conserve, restart your personal computer to ensure that the atmosphere variables are going to be additional helpful.