Enabling automatic reloading of JavaServer Pages™ (JSP)
 Technote (troubleshooting)
 
Problem(Abstract)
To have your JSP files automatically reload, set reloadingEnabled to true; also, reloadInterval must be set to a value greater than zero. You can find these values in your ibm-web-ext.xmi file.
 
Resolving the problem
The parameters reloadingEnabled and reloadInterval are located in the extension file, ibm-web-ext.xmi. You can change these values in your Application Assembly Tool (AAT) or by editing your ibm-web-ext.xmi file.
In the AAT:
  1. On the IBM Extensions tab, click the Web module.
  2. Check Reloading enabled.
  3. For Reload interval, type an appropriate value that is greater than zero.

Note: The check box Reload Enabled, located in the WebSphere Application Server V 5.0 Administrative Console, under Applications > Enterprise Applications > your Application name, is not the same as the reloadingEnabled parameter that controls whether a JavaServer Page is automatically reloaded.

In the ibm-web-ext.xmi file:
  1. Find the line starting with <webappext:WebAppExtension.
  2. Find these parameters:
    • reloadingEnabled
    • reloadInterval
  3. Set reloadingEnabled to true (reloadingEnabled="true").
  4. Set reloadInterval to a value greater than zero (reloadInterval="3").

Note: By default, the reloadInterval is set to 3 and reloadingEnabled is set to true. If you manually change the ibm-web-ext.xmi file, you must change the ibm-web-ext.xmi file that is located in the directory: was_root\config\cells\nodename\applications\EAR\deployments\EAR\WAR\WEB-INF
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > JSP
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1154582
IBM Group: Software Group
Modified date: Mar 23, 2004