I just want to know how to make automatic reflect on web application if i make changes in my servlets class file . Because when ever I make changes in servlets class file I have to do server shutdown and startup Otherwise go to tomcat web application manager And reload the web-application Is there another method which automatic do this
            Asked
            
        
        
            Active
            
        
            Viewed 60 times
        
    2 Answers
1
            
            
        Set <Context reloadable="true" />, Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically reload the web application if a change is detected. This feature is very useful during application development. But not in production environment. See the reloadable doc.
Edit:
- 
                    Satya I can't understand where should i make changes reloadable="true".and I'm using tomcat 6.0.44 – Sajid Dayer Sep 06 '15 at 12:01
- 
                    After making ROOT.xml place in localhost directory its not working why ? I'm using tomcat 7.0.63 – Sajid Dayer Sep 06 '15 at 17:00
-1
            
            
        Edit install_dir/conf/server.xml and add a DefaultContext subelement to the main Service element and supply true for the reload able attribute Add
 <DefaultContext reloadable="true"/> 
before the
</host> 
tag.
 
    
    
        Marian
        
- 144
- 2
- 11
 
     
    