3.13.90 /glassfish-web-app/property
/glassfish-web-app/property specifies the property, which has a name and value.
Description
/glassfish-web-app/property specifies the property, which has a name and value.
Repetition pattern
0 or more times
Specifiable attributes
Attribute name |
Description |
Specifiable values |
Default value# |
Dependencies |
Repetition pattern |
---|---|---|---|---|---|
name |
Specify the property name of "Specifiable properties". |
Type: String |
No default value |
N/A |
Only one time |
value |
Specify the value of "Specifiable properties" (specifiable value). |
Type: String |
No default value |
N/A |
Only one time |
- Legend:
N/A: Not applicable
#: This is the default value that is set when a definition item is excluded.
Specifiable properties
The following properties can be specified for "Specifiable attributes":
Property name |
Description |
Specifiable values |
Default value# |
Dependencies |
Repetition pattern |
---|---|---|---|---|---|
allowLinking |
If set as true, resources in this web application that are symbolic links are served. You can also define this property for a virtual server. Web applications on the virtual server that do not define this property use the value of the virtual server. Caution: Setting this property to true on Windows systems exposes the JSP source code. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
alternatedocroot_n |
Specifies an alternate document root (docroot), where n is a positive integer. The alternate docroots allow the web applications to serve requests for certain resources from outside their own docroot, based on whether those requests match one (or more) of the URI patterns of the alternate docroots corresponding to the web applications. If a request matches an alternate docroot URI pattern, it is mapped to the alternate docroot by appending the request URI (minus the web application context root) to the alternate docroot physical location (directory). If a request matches multiple URI patterns, the alternate docroot is determined according to the following precedence order:
|
Type: String |
No default value |
N/A |
0 or 1 time |
crossContextAllowed |
Specify "true" to allow the web application to access the contexts of the other web applications using the ServletContext.getContext() method. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time. |
relativeRedirectAllowed |
Specify true to allow 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. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time. |
reuseSessionID |
Specify "true" to enable the sessions generated for this web application to use the session ID specified in the request. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
securePagesWithPragma |
Specify "false", to ensure that the web application file downloads using the SSL work properly in the Internet Explorer. Set this property for all the web applications on a specific virtual server. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
singleThreadedServletPoolSize |
Specifies the maximum number of servlet instances allocated for each SingleThreadModel servlet in the web application. |
Type: Integer 1 to 2147483647 |
5 |
N/A |
0 or 1 time |
tempdir |
Specifies a temporary directory to be used by the web module. This value is used to construct the value of the javax.servlet.context.tempdir context attribute. The compiled JSP files are also placed in this directory. |
Type: String |
<domain-dir/generated/app-name> or <domain-dir/generated/module-name> |
N/A |
0 or 1 time |
useResponseCTForHeaders |
Specify "true" to enable the response headers are encoded using the response charset instead of the default (UTF-8). |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
- Legend:
N/A: Not applicable
#: This is the default value that is set when a definition item is excluded.