This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 1.3.10 and Tiles - Passing value from tiles.xml to jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.3.10 and Tiles - Passing value from tiles.xml to jsp page" Watch "Struts 1.3.10 and Tiles - Passing value from tiles.xml to jsp page" New topic
Author

Struts 1.3.10 and Tiles - Passing value from tiles.xml to jsp page

Jennifer Moran
Ranch Hand

Joined: Oct 21, 2002
Posts: 60
I have an ApplicationResources file that has definitions in it. I am using tiles and have the standard layout (header, body, footer, etc). In my header, I want to include a Page Title definition that exists in the ApplicationResources file. I don't know if I'm supposed to use put/get or put/useAttribute or put/importAttribute. I don't think the Tiles Ref clearly explains what is the difference between these?? Heres the code

ApplicationResources


tiles.xml


header.jsp



I know the header is totally wrong because I cannot nest the bean and tiles tag, but I can't even get it to work with



HELP!!

Jennifer
 
GeeCON Prague 2014
 
subject: Struts 1.3.10 and Tiles - Passing value from tiles.xml to jsp page