beautypg.com

HP Integrity NonStop J-Series User Manual

Page 74

background image

6.

“Modifying the EmpInfo-servlet.xml File” (page 78)

7.

“Modifying the index.jsp File” (page 79)

8.

“Implementing the RMI Service in EmpInfo” (page 80)

Creating JSPs to Delete and Retrieve Employee Details

To delete or retrieve any employee details in the EmpInfo application, you must create and modify
the following files:

retrieveordelete.jsp

retrieveresult.jsp

deleteresult.jsp

1.

Create the files in the EmpInfo/WebContent/WEB-INF/jsp directory, as described in

“Creating the index.jsp File” (page 43)

.

2.

Modify the retrieveordelete.jsp file to retrieve an Employee ID from the JSP page as
follows:


Welcome to the EmpInfo Application




Enter Employee Id












Employee Id :
Action to Perform (Retrieve/Delete) :




> Home page




3.

Modify the retrieveresult.jsp file to display the details of an employee record on the
JSP page as follows:


cellspacing="0" cellpadding="5">
















Employee Id :

Employee First Name :

Employee Last Name :

Employee Age :

Employee Email Id :

74

Spring Framework

This manual is related to the following products: