Hi, http://www.roseindia.net/struts/struts_tiles.shtml will give you a good start for tiles.
-----Original Message----- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 06, 2006 1:32 AM To: Struts Users Mailing List Subject: Re: Tiles Question Have you tried the instructions in the tiles documentation? http://struts.apache.org/struts-action/struts-tiles/ I think it describes your use case. Are you trying this and getting some kind of error you can send us? Thanks, Greg On May 5, 2006, at 1:33 PM, Troy Bull wrote: > Greetings > > I am new to tiles and so far I like it. I have a question though. > Seems like it should be easy to do but I haven't seen how yet. I > will try to describe the situation as concisely as I can. This can > be reproduced with just 2 jsp files. > > layout.jsp (interesting lines only) > > <title> > <tiles:getAsString name="title"/> > </title> > </head> > <HR> > <tiles:insert attribute="header"/> > > header.jsp > > <hr><tiles:getAsString name="title"/></h2> > <hr> > > > > int my tiles-defs.xml I have > > <definition name="main.layout" path="/layout.jsp"> > <put name="title" value="This is the title"/> > <put name="header" value="/header.jsp"/> > </definition> > > > And finally, what I want is to display in the browser "This is the > title" inside an H2 tag so that on each screen of my app the user > gets visual feed back for what page they are on. > > This seems to me like something I should be able to do but I dont > know how, anyone with any tips I am greatfull. > > thanks > troy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]