This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread 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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "struts: use .xml file instead of .properties?" Watch "struts: use .xml file instead of .properties?" New topic

struts: use .xml file instead of .properties?

Gon Zo

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

Joined: Jan 10, 2002
Posts: 63873

"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.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: struts: use .xml file instead of .properties?
It's not a secret anymore!