Struts 1 - Set values available in the bean:message

Asked

Viewed 21 times

1

Work with web java and, until 1 month ago we did not use any Framework in the company.

Now I’m using Struts 1 and a question has arisen that I am finding no answer anywhere. Without further ado I will explain the problem:

The system needs to be translated into 3 languages, already solved this using the files .property, however I need the values to come from the bank and not from a file, I already have the bank and I will play the values in a Hasmap just like Struts does with the files, what I need to know is how I do for this Hasmap get in place in the archive, something like set the org.apache.struts.action.MESSAGE.

  • There is no possibility to use a static class?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.