beautypg.com

Modifying the index.jsp file, Modifying the, Index.jsp – HP Integrity NonStop H-Series User Manual

Page 98: File

background image

Figure 5-9 New JavaServer Page: JSP Template Dialog Box

The template for the

index.jsp

file is generated.

Modifying the

index.jsp

File

To modify the

index.jsp

file, complete the following step:

Modify the

EmpInfo/WebContent/index.jsp

file to add a header item.

Add <

Spring Getting Started – EmpInfo Application

> as the title tag, <

Welcome

to the EmpInfo Application

> as the header item and <

This is EmpInfo Test

Page

> within the body tag of the

EmpInfo/WebContent/index.jsp

file 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">

Spring Getting Started – EmpInfo Application

Welcome to the EmpInfo Application

98

Getting Started with Spring

This manual is related to the following products: