Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

how to assign java vaiable value from resource file (array cells from resource)?  RSS feed

 
Ramina Nibilian
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello , thank you for reading my post.
I have a jsp file which i define some String array variable in it :
for example :
<% String [] StrindOfSystem = {"strSys1","StrSys2","",""} %>
I used content of this array in some places , no i want to be able to internationalize it
I tried using <bean:message key="str1" /> in place of any " StrSys " but it can not read the data
can you pleas tell me how i can solve it ?
how i can use data in resource file to fill my string array ?


thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!