Create an empty file named .reload at the root of the deployed module. For example:
instance_dir/webapps/vs_id/uri/.reload |
where vs_id is the virtual server ID in which the web application is deployed, and uri is the value of the uri attribute of the <WEBAPP> element.
Explicitly update the .reload file's timestamp (touch .reload in UNIX) each time you make the above changes.
For JSPs, changes are reloaded automatically at a frequency set in the reload-interval property of the jsp-config element in the sun-web.xml file. To disable dynamic reloading of JSPs, set the reload-interval property to -1.