This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts: use .xml file instead of .properties?

 
Gon Zo
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i'm not very familiar with struts yet.
i have jsp-sites with a java applet in it. both jsp-content and applet should be internationalized. i can internationalize the applet with one .xml file containing all languages. it would be comfortable for me if the translations of the jsp site content could also be fetched from this .xml file instead of the .properties file. this way i had only one file that contains all the translations for my project(jsp and applet) and not one file for the applet and several for the jsp-content.
is there a way to manage this? or does this contradict the idea of struts?

thanks for your help!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Gon Zo",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic