Hi, Hassan:
Thank you very much.
The file structure is like this:
AISWeb/WebContent/jsp/homePage.jsp
AISWeb/WebContent/templates/header.jsp
AISWeb/WebContent/templates/layoutMain.jsp
--------------------------------
layoutMain.jsp:
<!--
<body onLoad="">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td valign="top" align="left">
<!-- Include header -->
<tiles:insert attribute="header"/>
</td>
</tr>
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="appMain">
<tr>
<td valign="top" id="nav" width="140" rowspan="2">
<tiles:insert attribute="leftnav"/>
</td>
<td valign="top">
<table id="content" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<!-- Include body -->
<tiles:insert attribute="content"/><br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="footer"><br>
<tiles:insert attribute="footer"/>
</td>
</tr>
</table>
</body>
</html:html>
-->
------------------------------
header.jsp:
<!--
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="appBanner">
<tr>
<td width="140"><img src="images/eah_banner_logo.gif" height="83" width="90" alt="Acupuncture Information System" title="Acupuncture Information System" border="0"></td>
<td id="banner" width="610"><img src="images/eah_banner_head.gif" height="83" width="602" alt="Acupuncture Information System" title="Acupuncture Information System"></td>
<td id="fill2" width="100%"> </td>
</tr>
</table>
-->
------------------------------------
But the login jsp is not coded as same as the home jsp:
AISWeb/WebContent/login.jsp
<!--
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="appBanner">
<tr>
<td width="140"><img src="/images/eah_banner_logo.gif" height="83" width="90" border="0"></td>
<td id="banner" width="610"><img src="/images/eah_banner_head.gif" height="83" width="602"></td>
<td id="fill2" width="100%"> </td>
</tr>
</table>
-->
[Message sent by forum member 'henryliu' (henryliu)]
http://forums.java.net/jive/thread.jspa?messageID=359077