Your question though is not very clear.
But i can give you some direction where to head.
Check out for the Tomcat conf entry, or any other servlet engine configuration, which you may be using.
There is an entry in case of Tomcat, which has a name "reloadable".By default, it is set to "false". If you make it "true", the thing works.
Check out for one such entry in the configuration file.