beautypg.com

HP Integrity NonStop J-Series User Manual

Page 104

background image

"http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/WEB-INF/jsp/include.jsp"%>



Spring Getting Started with EmpInfo Application


Insert Operation Successfully Executed




${model.add}





>Insert Employee



3.

Modify the insert.jsp file in the EmpInfo/WebContent/Web-INF/jsp/insert.jsp
directory to receive all the input data required to add a new employee record to the database,
by completing the following steps:
1.

Delete the following tag from the tag.

2.

Add the following lines of code in the body tag to receive all the inputs required to add
a new employee record.























Employee Id :
First Name :
Last Name :
Age :
Email :




After modification, the insert.jsp appears as:

<%@ 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




Enter Employee Details







104 Getting Started with Spring

This manual is related to the following products:
Employee Id :
First Name :