Changing the location of JSP temp files
 Technote (troubleshooting)
 
Problem(Abstract)
The default location where JSP temporary files are stored can be changed by using the "scratchDir" JSP Attribute.
 
Resolving the problem
By default, the JSP temporary files are stored in Install_Root /temp directory. However, the WebSphere Application Server JSP Attribute can be used to change this location. Using the v5.0 AAT tool, you can create a new JSP Attribute named "scratchDir" and assign it a value of the location you wish to use, such as /opt/jsp/fun. When a WAR file is created, an entry into the ibm-web-ext.xmi file is created such as the following:
<jspAttributes xmi:id="JSPAttribute_1097603412508" name="scratchDir" value="c:\temp"/>

It is possible, though not recommended, to manually add this stanza to your ibm-web-ext.xmi file. Note that the number at the end of the attribute id is randomly generated and only needs to be different from other JSP attributes in your applications.

 
 
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.1.1.2
Software edition:
Reference #: 1188294
IBM Group: Software Group
Modified date: Oct 27, 2004