Properties file loaded during Startup of server is not getting reflected
posted 4 years ago
I am using Struts 2 and have started facing one issue. In application, I am using one properties file which get loaded in memory at the time of server start up. Structure of file is like key->value as below.
In my code, I am using 'my.first.name' and it displays 'XYZ' on web page. But now, sometimes web page starts showing key instead of value (for example 'my.first.name' instead of XYZ) on web pages for all defined values in properties files and once I restart the server, it works fine.
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.