用了include,也试了<tiles:insert>,怎么都是不行,请教高人指点。

解决方案 »

  1.   

    代码如下:
    <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@page contentType="text/html; charset=UTF-8"%>
    <html>
    <head>
    <title>index.jpg</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="description" content="FW MX 2004 DW MX 2004 HTML">
      <!--Fireworks MX 2004 Dreamweaver MX 2004 target.  Created Sat Jun 24 13:11:17 GMT+0800 2006-->
    <link rel="stylesheet" href="style.css" type="text/css">
    </head>
    <body>
    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="123" width="750">
          <jsp:include page="top.jsp" flush="true"/>
        </td>
      </tr>
      <tr>
        <td width="186" height="331" align="left" valign="top" background="images/index_r1_c6.jpg">
          <table width="186" border="0" cellpadding="0" cellspacing="0">
            <jsp:include page="side.jsp" flush="true"/>
          </table>
        </td>
        <td width="564" align="left" valign="top" height="367" background="images/0102.gif">
          <table width="564" border="0" align="center" cellpadding="0" cellspacing="0">
            <jsp:include page="main.jsp" flush="true"/>
          </table>
        </td>
      </tr>
      <tr>
        <td height="46">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
            <jsp:include page="tail.jsp" flush="true"/>
          </table>
        </td>
      </tr>
    </table>
    </body>
    </html>