beautypg.com

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

Page 122

background image

http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">

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

insert


com.hp.empinfo.domain.Employee


emp

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 35

shows what the EmpInfo application directory structure must look like after creating the

requisite files on the system.

122

Getting Started with Spring

This manual is related to the following products: