This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Iam working on a task in which i need to refresh the tomcat cache with out restarting it when there is any new entry or updation in the message.properties file.
how to deal with the .properties files i.e will the values have any effect with out restarting the tomcat. I am using tomcat 5.5 and struts 1.2. please help me out.
Tomcat doesn't have a cache. And property files are data files. In order for changes in data to "take", the code that reads that data needs to be informed that it must re-read the properties, assuming the usual scenario where the properties are loaded into a Properties object all at once.
An IDE is no substitute for an Intelligent Developer.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Tomcat Cache refresh with out restarting tomcat(.properties files)