Meaningless Drivel is fun!*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 1.3.10 and Tiles - Passing value from tiles.xml to jsp page