postheadericon 20. Write a JSP page, which uses the include directive to show its header and footer.



index.jsp


<html>
<head>
<title>EX-20</title>
<style>
div
{
background:#ababff;
position:absolute;
width:1000px;
left:110px;
border-style:solid;
}

.abcH
{
top:0.5cm;
width:1000px;
}

.abcF
{
top:500px;
width:1000px;
}
</style>
</head>

<body>
<%@ include file="/header.jsp" %>
<jsp:include page="/footer.jsp" />
<br>
</div>
</body>
</html>

header.jsp


<div class="abcH"  id="f1">
<br>
<table align="center">
<tr>
<td><h1>www.BipinRupadiya.blogspot.in<h1></td>
</tr>
</table>

</div>



footer.jsp


<div class="abcF"  id="f2">
<br>
<table align="center">
<tr>
<td><h3>&copy; Mr. Bipin S Rupadiya<h3></td>
</tr>
</table>
</div>



0 comments:

Total Pageviews

© BipinRupadiya.com. Powered by Blogger.