Configuring the jsp standard tag library, Creating a folder to store jsps, Developing and configuring views – HP Integrity NonStop J-Series User Manual

Page 95

Advertising
background image

Figure 24 EmpInfo: Employee Details Screen

Developing and Configuring Views and the Controller

This section describes the process to develop and configure Views and the Controller.

Views are provided by JSP pages and the controller has the intelligence to recognize the business
logic based on the input provided in the JSP pages.

This section describes the following activities:

1.

“Configuring the JSP Standard Tag Library” (page 95)

2.

“Adding JSTL and JSP Related Dependency JARs” (page 98)

3.

“Enhancing the Controller” (page 98)

4.

“Decoupling View from the Controller” (page 100)

Configuring the JSP Standard Tag Library

Configuring the JSP Standard Tag Library (JSTL) involves the following activities:

1.

“Creating a folder to store JSPs” (page 95)

2.

“Creating the include.jsp File” (page 96)

3.

“Modifying the index.jsp File” (page 97)

4.

“Modifying the insert.jsp File” (page 97)

To configure the JSTL, complete the following steps:

Creating a folder to store JSPs

To create a new folder named JSP, complete the following steps:
1.

On the Project Explorer frame, right-click EmpInfo and select New > Folder.

A New Folder dialog box appears.

2.

In the Folder name field, type jsp and select EmpInfo/WebContent/WEB-INF as the parent
folder.

Overview of EmpInfo

95

Advertising
This manual is related to the following products: