beautypg.com

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

Page 79

background image

class="com.hp.empinfo.web.EmployeeController">

retrieveordelete


com.hp.empinfo.domain.Employee


emprord


class="org.springframework.web.servlet.view.InternalResourceViewResolver">
value="org.springframework.web.servlet.view.JstlView">


Modifying the index.jsp File

Modify the index.jsp file in the EmpInfo/WebContent directory to provide the links to retrieve
or delete a page as shown:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
"http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/WEB-INF/jsp/include.jsp" %>



Spring Getting Started with EmpInfo Application


Welcome to the EmpInfo Application




>Insert Employee

> Retrieve or Delete





Figure 21

shows how the EmpInfo application directory structure looks like after creating the

requisite files on the system.

Getting Started with Spring

79

This manual is related to the following products: