Manual

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"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Spring Getting Started EmpInfo Application</title>
</head>
<body>
<h2 align="center">Welcome to the EmpInfo Application</h2>
98 Getting Started with Spring