Configuration of the JSP development environment under Windows

Source: Internet
Author: User
Tags standalone web server

Sun's JSP (Java Server Pages) is a dynamic Web development technology implemented on the server side, based on Java technology. Executing a JSP requires an engine that compiles a JSP Web page on the Web server. There are several ways to configure a JSP environment, but the main task is to install and configure the Web server and the JSP engine.

The following is the use of Tomcat as a JSP engine, with the Tomcat, Apache, IIS three kinds of Web server to tell the 3 kinds of scenarios to build a JSP environment. Anshan first big Dermatosis hospital www.0412pfk.net

First, the related software introduction

1, J2SDK:JAVA2 software development tools, is the basis of Java applications. JSP is based on Java technology, so you must install J2SDK before you configure the JSP environment.

2, Apache server: Apache organization developed a common Web server, to provide Web services.

3. Tomcat server: A JSP engine developed by Apache, which itself has the function of a Web server, can be used as a standalone Web server. However, as a Web server, tomcat processing static HTML pages is not as fast as Apache, nor Apache robust, so we generally use Tomcat with Apache, let Apache to the site's static page request service, Tomcat, as a dedicated JSP engine, provides JSP parsing for better performance. And Tomcat itself is a sub-project of Apache, so Tomcat provides strong support for Apache. For beginners, Tomcat is a great choice.

4, Mod_jk.dll:Apache organization Jakarta Project team developed to enable Apache support Tomcat plug-in. With this plugin, Tomcat can seamlessly connect with Apache. Www.0412pfk.net of Anshan skin disease Specialty Hospital

5, Tc4ntiis.zip:Apache organization Jakarta Project team developed a plug-in that enables IIS to support Tomcat.

Second, software download

1, J2SDK

Version: j2sdk1.4.1 (35.9MB)

Address: http://java.sun.com/j2se/1.4.1/download.html

2, Apache2

Version: Apache2.0.43 (6.69MB)

Address: http://www.apache.inetcosmos.org/dist/httpd/binaries/win32/

3, TOMCAT4

Version: 4.1.21 (8.33MB)

Address: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/

4, Mod_jk.dll: (136KB)

Address: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/

5, Tc4ntiis.zip (220KB)

Address: Http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/tc4ntiis.zip

The above are free software.

Third, the preparation before the configuration

1. Prepare a JSP Web page for testing

Open a text editor, such as Notepad, enter the following code and Save as test.jsp (note the extension. jsp).

Configuration of the JSP development environment under Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.