Top
Interstage Studio General Description
FUJITSU Software

5.2.2 JSP

JSP (JavaServer Pages) are Web pages with dynamic contents constructed by including scripts and actions in files written in HTML format. Like a servlet page, a JSP page receives from a browser the data that was entered on one Web page, configures a new Web page, and then outputs this to the browser. Through script processing, results executed by other Java classes and JavaBeans on the server can be output.

JSP page differ from servlet pages in that, whereas a servlet page is deployed on the Web server after being compiled as a servlet class, a JSP page does not need to be compiled as it run as a server function.

Point

The function that enables JSP pages to run on Web servers is known as the "JSP engine" or "JSP container". Following access through a Web browser, the JSP engine automatically converts the JSP page into a servlet program, compiles it, and runs process described in the page using a servlet engine.

In the Web application development function, JSP 2.1 (Java EE 5), JSP 2.2 (Java EE 6), or JSP 2.0 (J2EE) is used as the servlet container.

Figure 5.4 Configuration of a Web Application using JSP