but when i make any changes to my global.properties file, it does not show any reflection on jsp pages, all i need is to reload my properties file.
i have gone thru the instructions form http://struts.apache.org/2.x/docs/devmode.html but i didnot understand what i am missing.
i have search entire coderanch for help, but not able to solve the problem.
Put log4j in debug mode and check whether it is hitting to ConfigurationManager class or not on each and every request.
DEBUG ConfigurationManager:68 - Checking ConfigurationProviders for reload. Like this you can find the message in console.
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.
but it does not shows that properties file are reloading on every request, but my point is when i have "struts.i18n.reload=true" then why the properties file is not reloading on each request because as per the struts2 documentation i am correct.
what i am missing
log4j is already pasted above. when i make any changes to properties file, it does not show any changes in my application unless i compile and deloy the war. if you find what i am missing, do let me know.
here is the struts2 document link http://struts.apache.org/2.x/docs/devmode.html
Which browser you are using? Because if you are using IE it will send the request to the action class if it's already requested trying to get the data from the cache. if you are using IE use ctrl + F5 to make a new request.