aspose file tools*
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
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: 61609
    
  67

"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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts: use .xml file instead of .properties?