• 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

Regarding Resource Bundle

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
I have a doubt with respect to custom Resource Bundle?i.e creatingo our own resource bundle class.

In the API they have specified that if you want to create custom Resource Bundle,you should extend the Resource Bundle class and then override two APIS

i.e handleGetObject() and getKeys() method...

My doubt is when this handleGetObject() and getKeys() method are invoked?I have never seen a call to these two methods in some of the sample which I have seen ...

Please clarify me on this topic....

Thanks in advance
 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the fully qualified name of the class you're trying to extend?

I could not locate any "resource bundle" class in the Struts source...
 
srinibadri Srinivasan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No.. it is not related to struts....it is a normal java api...

it is java.util.ResourceBundle....

We can extend the java.util.ResourceBundle class and write our own custom ResourceBundle for our usage
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic