This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes struts: use .xml file instead of .properties? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "struts: use .xml file instead of .properties?" Watch "struts: use .xml file instead of .properties?" New topic
Author

struts: use .xml file instead of .properties?

Gon Zo
Greenhorn

Joined: Dec 07, 2006
Posts: 1
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

Joined: Jan 10, 2002
Posts: 61084
    
  66

"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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: struts: use .xml file instead of .properties?