beautypg.com

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

Page 450

background image

3.

Modifying JSPs

4.

Creating the mycss.css File

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

chapter.

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

chapter.

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">

450

Integrating MyFaces into Spring

This manual is related to the following products: