• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Problem while reading property file

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Is there anybody who has read the property files which is located in "${WAS_ROOT}/AppServer/properties/" folder of IBM websphere server
As a matter of fact i want to define some properties in a property file and want to read this property in the java servlet Using java.util.ResourceBundle class. But there is a problem that whenever i call ResourceBundle.getBundle("propertyfile",currentlocale) method it gives NUll Pointer exception.
It means program could not find the property file as i think.
Is there anybody who have ever worked on this and can solve my problem.
Thanks in advance for the help extended.
Rishi Tyagi
[ June 09, 2003: Message edited by: Rishi Tyagi ]
 
Does this tiny ad smell okay to you?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic