Below is the jsp ----------------------------------snip ------------------------- <%@ page contentType="text/html; charset=UTF-8"%> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%> <%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- saved from url=(0014)about:internet --> <!-- this and above comment should be removed for live, non-demo use --> <head> <title>Claims Home</title> <s:head /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <link rel="stylesheet" href="../css/common.css" type="text/css"> <link rel="stylesheet" href="../css/claims.css" type="text/css"> </head> <body> <script language="JavaScript" src="../theme/navbar.js"></script> <table width="780" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td valign="top"><tiles:insertAttribute name="header" /></td> </tr> <tr> <td align="right"><tiles:insertAttribute name="infouser" /></td> </tr> <tr> <td valign="top" height="20"></td> </tr> <tr> <td colspan="2" class="memubar"><tiles:insertAttribute name="menu" /></td> </tr> <tr> <td height="10"></td> </tr> <tr> <td valign="top" height="450"><tiles:insertAttribute name="body" /> </td> </tr>
<tr> <td valign="top"><tiles:insertAttribute name="footer" /></td> </tr> </tbody> </table> </body> </html> ------------------------------ snip ------------------------------------ Aimé Kra -----Original Message----- From: Nils-Helge Garli Hegvik [mailto:nil...@gmail.com] Sent: Thursday, March 19, 2009 12:19 PM To: Struts Users Mailing List Subject: Re: Struts 2 tags not translated to html when using tiles What does the JSP look like? Does it include the taglib definition? Nils-H On Thu, Mar 19, 2009 at 5:14 PM, Kra, Aime yao (TEK System) <ak...@allstate.com> wrote: > Struts 2 tags are not translate into HTML when I add tile to my application. > When I use View source of my browser, I still can see the struts 2 tags in > the page so it is not correctly rendered. > Without tiles the application is working fine. > > Below is what I see in the page source. > ----------------------- snip ------------------------- > <tr> > <td align="right" > width="181"><span class="textboldblue">First > Name</span></td> > > <td width="330"><s:textfield > name="firstName" required="true" > size="20" > maxlength="75" /><span class="asterisk">*</span></td> > </tr> > <tr> > <td align="right" > width="181"><span class="textboldblue">Last > Name</span></td> > > <td width="330"><s:textfield > name="lastName" required="true" > size="20" > maxlength="75" /><span class="asterisk">*</span></td> > </tr> > > ------------------------------------------- snip > ----------------------------------------------------------------------------------------------------- > > Any idea? > > Thanks > > Aimé Kra > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org