-
Nov 8th, 2011, 04:19 PM
#1
auto populate static data
Hello, I am new to Spring would like some guidance on how to achieve this.
I am using tiles and have a menu page on the left side. The menu have several lists with static information. Currently, the way I go about re-populating the menu page is by calling a method to re-add the static data back into the model object on every controller call. I am wondering whether there's a better way to do this without having to manually re-add the menu data to the model every time. Can this static menu information be added in the servlet xml to where it adds to the model automatically without having to manually added at the controller level? please let me know if this is confusing. thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules