1. What is JSP?
JSP is a dynamic web page Technical Standard promoted by Sun Microsystems and jointly established by many companies. Its website is http://www.paioft.com/products/jsp. Add Java to traditional webpage HTML files (*. htm, *. html)ProgramSnippets (scriptlet) and JSP tags constitute JSP web pages (*. jsp ). When the Web server encounters a request to access the JSP webpage, it first executes the program fragment and then returns the execution result to the customer in HTML format. Program snippets can operate databases, redirect webpages, and send emails. This is the function required to build a dynamic website. All program operations are performed on the server, and the results are only obtained after the network is uploaded to the client. The client has the lowest requirements on the client browser and can implement no plugin, no ActiveX, and no Java applet, no frame.
This article describes how to use JSP technology to develop dynamic web pages, and briefly analyzes the differences between JSP technology and Microsoft's ASP technology.
Ii. How to install and start
To experiment with JSP technology, you must first establish a runtime environment. This process is quite simple:
1. Download JDK (Java 2 SDK, Standard Edition, V 1.2.2) at http://java.sun.com/jdk ).
2. Download jswdk (JavaServer Web Development Kit 1.0.1) at http://java.sun.com/products/jsp ). Linux users can download Tomcat 3.0 at http://jakarta.apache.org.
3. Installation
Taking windows ntenvironment as an example, JDK installation is the first download of JDK 1_2_2-win.exe. Then, modify the system environment parameters and add [X:] JDK 1.2.2 to the path parameters.