You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Ralph Schaer <sc...@ess.ch> on 2000/10/17 16:40:23 UTC

Resource reloading

Hello

I wrote a simple ResourceBundle that gets the data from database.
Now I can change the resources on the db and kick a reloading action
that refreshes the ResourceBundle.

I had one problem that the MessageResources class. This class has no method
to
clear the formats cache. I add this method to the class to make it work.

 public void clearFormatsCache() {
      formats.clear();
   }



Regards
Ralph