struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raj Atchutuni <raj_strut...@yahoo.com>
Subject Re: Page Title
Date Mon, 22 Sep 2003 23:25:12 GMT
How do i assign different title for each page using tiles. Following is my tile layout which
has title "My Site Name". And it has Header, Side Menu, BODY, Footer.
Should i have <title></title> in each BODY jsp ?
 
Is there any short cut to get the page name and over ride the main layout title ?
 
Thanks for the help.
Raj
----------------------------------------------------------------------------------------
<title>My Site Name</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="770" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="770">
     <tiles:insert attribute="header" />
    </td>
  </tr>
  <tr>
    <td>
      <table width="770" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="144" valign="top"><tiles:insert attribute="menu" /></td>
          <td width="626" valign="top"><tiles:insert attribute="body" /></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="770">
     <tiles:insert attribute="footer" />
    </td>
  </tr>
</table>
</body>
</html>


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message