I am pretty new in struts and is making an application where I want to externalize my message resource property file in struts.
like my application property file is outside of my war file(in my C: drive), how can i configure my struts application to use the same.
Thanks for the reply.
no i want to keep my messaage resources property file outside of war file.
it will be helpful to me when i want to add new language to my application without restarting my server.
Just keep your project in development mode on each and every request your properties files will be reloaded automatically.
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 i dont want to reload my message file on each and every request.
here's what i am trying to do.
i have language drop down whose value comes from DB. when new language is to be added, an entry is made on that table. so i want to externalize my message resource prop file, so that i just have to keep my message resource file on that folder and my application will pick up that file. no need to restart your server.