beautypg.com

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

Page 458

background image

3.

Click Finish.

The

mycss.css

file is created.

4.

Add the following code to the

mycss.css

file:

body{
background-color:#fff2f2;
margin-left:0;
margin-right:0;
margin-top:0;
margin-bottom:0;
}
.TableRow1 {
background-color: #D0E6E0;
}
.TableRow2 {
background-color: #E8F7F1;
}
.TableColumn {
text-align: center
}
.TableClass {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #000000;
padding: 2;
border-style: solid;
border-width: 2px;
}
.TableHeader {
color: #000000;
background-color: #F1F1F1;
padding: 3;
text-align: center;
border: none;
}
.TableFooter {
background-color: #F1F1F1;
}

.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 16px;
color: green;
font-weight:bold;
}
.style2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
}
.style3 {font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif;}
.style4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
color: #FF0000;
}
.errors {
font-style: italic;
color: green;
}

Modifying the

index.jsp

File

Modify

EmpInfo/index.jsp

by removing the existing code and adding the redirect tag to the

faces-enabled page

welcome.jsp

, as shown below:

<% response.sendRedirect("pages/welcome.jsf"); %>

458

Integrating MyFaces into Spring

This manual is related to the following products: