Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Activity display dynamically depend on the locale on Struts

Babu Singh
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to display activities dynamically which can be increase or decrease on struts 2 and that depend on the Locale (like English or French) . dynamically means user can be add or delete activity at run time.
I have two properties file:

for dynamic, i am using array list. i have an array list in a Java class. In this list i want to store the values (activities) depending on the locale:

When I retrieve the value on jsp like this:

Am i going to right direction or any suggestion..

Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic