Creating the view – HP Integrity NonStop H-Series User Manual
Page 109
![background image](/manuals/397675/109/background.png)
Creating the View
After completing the controller implementation for EmpInfo, complete the following steps to
create the first view of the EmpInfo application:
1.
Create a new JSP page
insert.jsp
in
EmpInfo/WebContent
by following steps as
explained in the
section.
2.
Add <
Spring Getting Started – EmpInfo Application
> as the title tag, <
Welcome
to the Enter Employee Details Page
> as the header item and <
Enter Employee
Details
> within the body tag of
EmpInfo/WebContent/insert.jsp
, as shown below:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
"http://www.w3.org/TR/html4/loose.dtd">
Welcome to the EmpInfo Application
Enter Employee Details
At this point, you can either deploy and verify the EmpInfo application you have developed
so far on your NonStop system, or you can proceed to the
section.
NOTE:
The code of the EmpInfo application developed so far is present in
<My SASH
Home>\spring\getting-started\EmpInfo-InParts\Part-2
To verify your EmpInfo application, complete the following steps:
1.
Deploy the application using the steps described in
“Deploying EmpInfo on NonStop”
section.
2.
Verify your application by accessing the following URL:
The Welcome screen of the EmpInfo application appears.
shows the EmpInfo: Employee Details screen.
Overview of EmpInfo
109