Tomcat can reload your servlets if there is any change by specifying reloadable attribute to true in the Context element in server.xml file or your web application configuration file. For example, go to <tomcat_home>\conf\Catalina\localhost\ and locate your_application_name.xml file (if your application config file is not listed here you can check for the <Context> attribute inisde server.xml file or create a new file with your application name inside <tomcat_home>\conf\Catalina\localhost\ folder), then add reloadable="true" as following:
if you create a new file configuration the above script is enough. Please be warned the reloadable web application is much slower; therefore, it is not suitable for production use (use it for development stage only).
SCJP 90%<br />FileNet Certified Professional: Content Management Developer 92%<br />FileNet Certified Professional: Business Process Management Developer 92%