Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

Properties

The following table describes properties for the sun-web-app element.

Table A–121 sun-web-app Properties

Property  

Default  

Description  

allowLinking

true

If true, resources in this web application that are symbolic links are served.

crossContextAllowed

true

If true, allows this web application to access the contexts of other web applications using the ServletContext.getContext()method.

relativeRedirectAllowed

false

If true, allows this web application to send a relative URL to the client using HttpServletResponse.sendRedirect(), and instructs the web container not to translate any relative URLs to fully qualified ones.

reuseSessionID

false

If true, sessions generated for this web application use the session ID specified in the request.

singleThreadedServletPoolSize

5

Specifies the maximum number of servlet instances allocated for each SingleThreadModel servlet in the web application.

tempdir

domain-dir/generated/j2ee-apps/app-name

or 

domain-dir/generated/j2ee-modules/module-name

Specifies a temporary directory for use by this web module. This value is used to construct the value of the javax.servlet.context.tempdir context attribute. Compiled JSP files are also placed in this directory.

useResponseCTForHeaders

false

If true, response headers are encoded using the response’s charset instead of the default (UTF-8).