How to change the temp/scratch directory for compiled JavaServer Pages (JSPs)
 Technote (FAQ)
 
Problem
This technote describes how to change the temporary or scratch directory for compiled JSPs.
 
Solution
Changing the JSP temp directory using AAT
  1. Open the AAT.
  2. Expand the webModule.
  3. Expand Assembly Property Extensions.
  4. Right-click JSP Attributes, then click New.
  5. Type scratchdir for name and the target directory for value.
  6. Click Apply.
  7. Save the webModule.

Changing the JSP temp directory using manual edit of ibm-web-ext.xmi file

  1. Open the ibm-web-ext.xmi file, which is located in the WEB-INF directory of the webModule.
    • In WebSphere® Application Server V4.0, open this file from the WebSphere\AppServer\installedApps directory.
    • In V5.0, open this file from the WebSphere\AppServer\config\cells\node_name\applications directory

  2. Add the following tag before the closing </webappext:WebAppExtension> tag:

    <jspAttributes xmi:id="JSPAttribute_1" name="scratchdir" value="D:\MyScratchDirectory"/>

  3. Stop and restart the webModule for the changes to take effect.
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > JSP
Operating system(s): HP-UX
Software version: 4.0
Software edition:
Reference #: 1112967
IBM Group: Software Group
Modified date: Mar 1, 2005