hi chris,
Thanks for the example,but the thing is that i am using(<tiles:insert definition="index.page" />

in Jsp page to include the content.
in detail:
1>i have a left navigation where i have given 4 href to go to other pages like addemployee,listemployee,designation....etc
2>my template look like this
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<html>
<table border="1" cellpadding="0" cellspacing="0" width="100%" height="100% bordercolor="#000000" bgcolor="#E7FDFE">
<tr>
<td width="100%" colspan="2" valign="top"><tiles:insert attribute="header"/></td>
</tr>
<tr>
<td width="23%" valign="center" ><tiles:insert attribute="navigation"/></td>
<td width="77%" valign="top" ><tiles:insert attribute="body"/></td>
</tr>
<tr>
<td width="100%" colspan="2" valign="top"><tiles:insert attribute="bottom"/></td>
</tr>
</table>
</html>
3>my tiles-defs.Xml look like this
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
<tiles-definitions>
<definition name="example" page="/template.jsp">
<put name="header" value="/header.jsp" />
<put name="body" value="body.do"/>
<put name="navigation" value="/navigation.jsp" />
<put name="bottom" value="/footer.jsp" />
</definition>
<definition name="index.page" extends="example" >
<put name="body" value="/Department.jsp" />
</definition>
</tiles-definitions>
MY PROBLEM IS:
i am getting tiles layout with navigation,header,footer,body(simple static page),but when i click on the link(hrefs) i am getting my content(Department.jsp) displayed outside the layout.
HELP ME CHRIS>>>>>>>>>>>>>