File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changes in properties file should get reflected with out restarting server

 
Manju Na
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

If there is any changes in properties file(message.properties) tomcat cache should be refreshed with out restarting it .
Request to tell me how to proceed.


Thanks in Advance.
Manju
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put your project in dev mode. Add the following constant in struts.xml file <constant name="struts.devMode" value="true" />.
 
Manju Na
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply.
I have tried with <constant name="struts.devMode" value="true" />. If there is changes in message.properties file but still container holding the old value only.
the tomcat cache is not refreshing.

Thanks
Manju
 
Manju Na
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am using Struts 1.2.
 
Manju Na
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,
Need help in this enhancement. please help me out.


Thanks
Manju
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic