Monica. Shiralkar wrote:iWhat i want is if i am changing the config file my application should just pick it from config file outside war an there is no need of recreating the war file.How to accomplish this.
Have a look at the Properties (java.util.Properties) class. However, I don't think your problems end there. How "current" does your config need to be? If immediate, then you're likely to need some code to ensure that it is, and
that's likely to involve synchronized (and possibly threaded) updates. If not, then you might want to look at a TimerTask (or something similar) that updates your config on a regular basis.
Tons of possible solutions; not enough information...
Winston