Modifying the web.xml file – HP Integrity NonStop J-Series User Manual

Page 84

Advertising
background image

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>Spring Getting Started with EmpInfo Application</title>

</head>

<body>

<h2 align="center">Welcome to the EmpInfo Application</h2>

<br>

<p>This is EmpInfo Test Page.</p>

</body>

</html>

At this point, you can either deploy and verify the EmpInfo application you have developed
so far on the NonStop system, or you can proceed with the steps for modifying the web.xml
file.

NOTE:

The code of the EmpInfo application developed so far is located in <My SASH

Home>\spring\getting-started\EmpInfo-InParts\Part-1

To verify the EmpInfo application, complete the following steps:

1.

Deploy the EmpInfo application using the steps described in

“Deploying EmpInfo on

NonStop” (page 129)

.

2.

Verify the EmpInfo application by accessing the following URL:

http://<IP Address of the iTP WebServer>:<port#>/<servlet directory>/EmpInfo

The Welcome Screen of the EmpInfo application appears.

Figure 16 EmpInfo Welcome Screen

Modifying the web.xml File

To modify the web.xml file, you must set the dispatcher servlet and its mapping using the following
steps:

84

Getting Started with Spring

Advertising
This manual is related to the following products: