• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reading XML config File Using Resourcebundle

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.

I would like to ask for your assistance. In our project we are required to access a property file (xml format) using Resourcebundle. I have read that java 1.6 has Resourcebundle.control to do that. The problem is we are only required to use Java 1.5 for this implementation and I am having trouble finding a solution on the internet. Could any please help me? Any input regarding this matter would be greatly appreciated..
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

There are any number of ways for reading an XML file. If you're required to use a JVM that does not support the preferred way, it would seem that you will need to put in place a workaround on those obsolete JVMs.

At this point I should insert the obligatory reminder that Java 5 and Java 6 are not supported any more, so you should upgrade to Java 7 posthaste for security reasons, if for nothing else.
 
Shawn Porter
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply. Unfortunately we are not required to use any higher java version for our project for this implementation and have no luck in finding a solution. Anyways, thanks a lot for the insight that you have provided. Truly appreciate it.
reply
    Bookmark Topic Watch Topic
  • New Topic