aspose file tools*
The moose likes Struts and the fly likes iterating my ApplicationResources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "iterating my ApplicationResources" Watch "iterating my ApplicationResources" New topic
Author

iterating my ApplicationResources

David Hamilton
Greenhorn

Joined: Mar 12, 2007
Posts: 1
hi there, first time post (^__^ x) and i've got a simple question (i hope)
basically, i want to output all the key pairs in my ApplicationResources
file to a jspa and write them as xml, but i can't find any simple way of
iterating through them. id like something like the code below but open to
advice.

<appvars>
<nested:iterate name="messages">
<appvar>
<key><nested:write property="key" /></key>
<val><nested:write property="val" /></val>
</appvar>
</nested:iterate>
</appvars>

thanks
David
 
Don't get me started about those stupid light bulbs.
 
subject: iterating my ApplicationResources