About the configuration scheme of JSP development environment under Windows

  

The configuration scheme of JSP development environment under Windows. As soon as we see this title, we first ask the question: What is jsp? JSP (Java Server Pages) is by Sun Microsystems Advocate, a company that is involved in the establishment of a dynamic web technology standard. JSP technology is somewhat similar to ASP technology. It inserts Java scripts (Scriptlets) and JSP tags (tags) into traditional web page HTML files (*.htm, *.html) to form JSP files (*.jsp). Web applications developed with JSP are cross-platform and can run under Linux as well as on other operating systems.

And Sun's JSP (Java Server Pages) is a dynamic web development technology implemented on the server side, which is based on Java technology. When executing JSP, you need to set up an engine that compiles JSP pages on the web server. There are many ways to configure a JSP environment, but the main job is to install and configure the web server and JSP engine.

The following is the use of Tomcat as a JSP engine, with Tomcat, Apache, IIS three Web servers to describe three ways to build a JSP runtime environment.

First, 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 configuring the JSP environment.

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

3, Tomcat server: A JSP engine developed by the Apache organization, which has the function of a Web server and can be used as a stand-alone Web server. However, as a web server, Tomcat is not as fast as Apache when dealing with static HTML pages, and there is no Apache robust, so we generally use Tomcat with Apache to let Apache provide services for static page requests of the website, and Tomcat as a dedicated JSP. Engine that provides JSP parsing for better performance. And Tomcat itself is a subproject 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 Apache support Tomcat plugin. With this plugin, Tomcat can seamlessly connect with Apache.

5, tc4ntiis.zip: Apache organization Jakarta project team developed to enable IIS to support Tomcat plugin.

Second, the 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

All of the above are freeware.

Previous 12 Next Total 2 Pages

Copyright © Windows knowledge All Rights Reserved