ssdddddddddd

 <plug-in className="org.apache.struts.tiles.TilesPlugin">
  <set-property property="definitions-config" value="/WEB-INF/tiles/tiles-defs-sss.xml"/>
  <set-property property="moduleAware" value="true"/>
  <set-property property="definitions-parser-validate" value="true"/>
 </plug-in>

 

  <definition name="default" path="/jsp/sss/layout/layout.jsp" >
  <put name="header" value="/jsp/sss/common/header.jsp" />
     <put name="footer" value="/jsp/sss/common/footer.jsp" />
   </definition> 
   

   
   <definition name="sss.index" extends="default">
  <put name="mainWindow" value="/jsp/sss/common/main.jsp" />
 </definition>

 

 

<body id="layout_pages">
<jsp:include page="/jsp/common/header.jsp" />

<table width="1003" border="0" cellpadding="0" cellspacing="0">
 <tr>
  <td width="178" height="510" valign="top" id="mtd"
   class="bg_simple_gray"><tiles:insert
   attribute="leftMenu" /></td>
  <td valign="top">
  <table width="100%" border="0" cellpadding="0" cellspacing="0"
   class="mainTable">
   <tr>
    <td valign="top" class="mainTableContent">
    <app:switchRole/>
    <tiles:insert attribute="navigator" />
    <tiles:insert attribute="mainWindow" />
    </td>
   </tr>
  </table>
  </td>
 </tr>
</table>
<!-- aa标签中的代码为锁屏功能使用 -->
<aa:zone name="show_success_page"></aa:zone>
<aa:zone name="refresh_app_error"><app:Errors/></aa:zone>
<jsp:include page="/jsp/common/footer.jsp" />
</body>
</html>

你可能感兴趣的:(apache,Web,xml,jsp,struts)