Web container properties

Learn about system properties, custom properties, and application properties for the web container.

Web container system property

You can change the value of the javax.servlet.context.tempdir servlet context attribute to be relative to a different directory by setting the com.ibm.websphere.servlet.temp.dir system property. This system property affects all applications on a server-wide basis. For example, if you set com.ibm.websphere.servlet.temp.dir to /foo, the application temp directory is /foo/node1/server1/fragmentTest/fragmentTest24.war. If you want to change the value at an application level, use the scratchdir JavaServer Pages (JSP) attribute. View the JSP engine configuration parameters topic for more information about the scratchdir attribute.

Web container custom property

Custom properties are specific to a server. Set a web container custom property in the administrative console. See the Web container custom properties topic for instructions on setting custom properties for web container and to see a list of available web container custom properties.

Web container application property

Application properties are specific to an application. You define application properties in the application deployment descriptor. Enable a Java Enterprise Edition (Java EE) application to configure asynchronous servlet by using a servlet or filter initial parameter. An example of a web.xml definition of a servlet or filter follows:
<init-param>
	<param-name>com.ibm.ws.webcontainer.async-supported</param-name>
	<param-value>true</param-value>
</init-param>



Related reference
Web container custom properties
Concept topic Concept topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 5:16:49 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-iseries&topic=cweb_webcontainer_properties
File name: cweb_webcontainer_properties.html