Modifying the index.jsp file – HP Integrity NonStop J-Series User Manual

Page 83

Advertising
background image

Figure 15 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 with 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>

Overview of EmpInfo

83

Advertising
This manual is related to the following products: