beautypg.com

Creating jsps, Modifying jsps, Welcome.jsp – HP Integrity NonStop J-Series User Manual

Page 293

background image

Creating Pages folder

Create a new folder pages under EmpInfo/WebContent as explained in the

Creating a folder

to store JSPs

section in the

Getting Started with Spring

section.

Creating JSPs

Create the following JSP files under EmpInfo/WebContent/pages as explained in the

Creating

the index.jsp File

section in the

Getting Started with Spring

section.

welcome.jsp

insert.jsp

empUpdate.jsp

empDetail.jsp

success.jsp

Modifying JSPs

To modify the above-created JSPs, complete the following steps:

welcome.jsp

This page contains the links to insert page and empUpdate page.

Replace the contents of the existing welcome.jsp file with the code given below:

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>



Record Insertion




var="ab">






cellpadding="0">






width="250" var="gh">


styleClass="style1" />

Integrating MyFaces into Spring 293

This manual is related to the following products: