beautypg.com

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

Page 110: Views and the controller, Figure 5-18

background image

Figure 5-18 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

2.

Adding JSTL and JSP Related Dependency JARs

3.

Enhancing the Controller

4.

Decoupling View from the Controller

Configuring the JSP Standard Tag Library

Configuring the JSP Standard Tag library involves the following activities:

1.

Creating a folder to store JSPs

2.

Creating the

include.jsp

File

3.

Modifying the

index.jsp

File

4.

Modifying the insert.jsp File

To configure the JSP Standard Tag Library (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.

110

Getting Started with Spring

This manual is related to the following products: