• Post Reply Bookmark Topic Watch Topic
  • New Topic

ResourceBundle getBundle Question  RSS feed

 
Jaume Guillamon
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a servlet program that is scheduuling a timer task to a program that reads a Resource Bundle. I have no problems reading, anyway I would like to know if the class "EnvioProgramado" will read the changes I have been doing dinamically?. I mean, The Resource is in memory or is readed every time I getBundle ?

For example the config.properties from Struts is in memory when Tomcat/Struts is started, If I change the properties I have to restart the tomcat the get the changes.

Thanks in advance.
Jaume.




 
Jammy Wells
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like whenever you execute this getBundle thing the property file is loaded , why dont you try that and let all of us learn from this ....
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!