<Context path="/mysite1" docBase="webapps/mysite1" debug="5" reloadable="true" crossContext="false"> </Context> If I specify the above tag in tomcats server.xml will it make my application (mysite1) eligible for hot deployment . Or is it version specific .
Yes you are right. By using this tag in server.xml you are eligible for hot deployment but it is not version specific. The main reason to use this tag is when we are developing a web application we may have to change/modify in our source code. So this needs to be complied and we have to stop the tomcat again restart. So it seems like time taking and boaring. So we are using this context tag to dynamically take the modified class file, no need to stop the tomcat and restart.
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
a bit of art, as a gift, that will fit in a stocking