aspose file tools
The moose likes Struts and the fly likes Need dynamic tile for meta data or Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Need dynamic tile for meta data or " Watch "Need dynamic tile for meta data or " New topic
Author

Need dynamic tile for meta data or

Angelo Bonaparte
Greenhorn

Joined: Aug 02, 2006
Posts: 19
Hi, I have the following meta information in a metadata.jsp tile that I must include in all my JSP's. The problem is that some pages have meta data that is dynamic and comes from a database. I need a way to load the data from the database and pre-populate the meta information tile before the tile is added on the template. Do I use the tiles controller for this. Any suggestions welcome. P.S. I am using Struts 1.2, JSTL 1.1.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You might want to have a look at this link. This technique was posted as a way to insert JavaScript .js files, but I think it would apply to <meta> tags as well.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: jrebel
 
subject: Need dynamic tile for meta data or
 
Similar Threads
problem with getting dynamic input
Convert List to ResultSet?
dynamic page throught tile
Problem setting Tile layout contents
Using Tiles and html:img tag