3.13.88 /glassfish-web-app/jsp-config/property
/glassfish-web-app/jsp-config/property specifies the property, which has a name and a value.
Description
/glassfish-web-app/jsp-config/property specifies the property, which has a name and a 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 |
---|---|---|---|---|---|
checkInterval |
If development property of jsp-config is set to false and checkInterval is greater than zero, background compilations are enabled. checkInterval is the time in seconds between checks to see if a JSP file needs to be recompiled. |
Type: Integer 0 to 2147483647 |
0 |
N/A |
0 or 1 time |
classdebuginfo |
Specifies whether the generated Java servlets are compiled with the debug option set (-g for javac). |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
classpath |
Specifies the classpath to use while compiling the generated servlets. |
Type: String |
<classpath based on the current web application> |
N/A |
0 or 1 time |
compiler |
Specifies the compiler Ant uses to compile the JSP files |
Type: String |
javac |
N/A |
0 or 1 time |
compilerSourceVM |
Specifies the JDK release with which source compatibility of the generated servlets is provided. It is same as the -source release option of javac. |
Type: String |
Depends on Java VM |
N/A |
0 or 1 time |
compilerTargetVM |
Specifies the Virtual Machine for the Java platform (JVM software) version for which the servlet class files are generated. It is same as the -target release option of javac. |
Type: String |
Depends on Java VM |
N/A |
0 or 1 time |
defaultBufferNone |
If set to true, the default for the buffer attribute of the page directive is none. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
development |
If set to true, enables the development mode, which allows JSP files to be checked for modification. Specifies the frequency at which the JSP files are checked using the modificationTestInterval property. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
dumpSmap |
If set to true, dumps the SMAP information for JSR 45 debugging to a file. Set to false if suppressSmap is true. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
enablePooling |
If set to true, tag handler pooling is enabled. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
enableTldValidation |
If set to true, all the Tag Library Descriptor (TLD) files referenced by the web application are validated against their underlying schema or DTD file. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
errorOnUseBeanInvalidClassAttribute |
If set to true, issues an error when the value of the class attribute in a useBean action is not a valid bean class. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
fork |
Specifies that Ant forks the compilation of the JSP files using a JVM machine separate from the one in which the Application Server is running. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
genStrAsByteArray |
If set to true, text strings are generated as bytes (encoded with the page encoding), if the page is not buffered. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
genStrAsCharArray |
If set to true, generates text strings as char arrays, which improves performance in some cases. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
httpMethods |
Specifies a comma separated list of the HTTP methods supported by the JspServlet. |
Type: String |
<*(for all methods)> |
N/A |
0 or 1 time |
ieClassId |
Specifies the Java plug-in COM class ID for the Internet Explorer that is used by the <jsp:plugin> tags. |
Type: String |
clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 |
N/A |
0 or 1 time |
ignoreJspFragmentErrors |
If set to true, instructs the compiler to ignore any JSP precompilation errors pertaining to statically included JSP segments that despite not being top level JSP files use the .jsp or .jspx extension (instead of the recommended .jspf). |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
initialCapacity |
Specifies the initial capacity of the HashMap that maps the JSP files to their corresponding servlets. |
Type: Integer 0 to 2147483647 |
32 |
N/A |
0 or 1 time |
javaEncoding |
Specifies the encoding for the generated Java servlet. This encoding is passed to the Java compiler that is used to compile the servlet as well. The web container tries to use the UTF8. If that fails, it tries to use the java encoding value. |
Type: String |
UTF8 |
N/A |
0 or 1 time |
keepgenerated |
If set to true, keeps the generated Java files. If set to false, deletes the Java files. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
mappedfile |
If set to true, generates static content with one print statement per input line to ease debugging. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
modificationTestInterval |
Specifies the frequency in seconds at which JSPs are checked for modification. A value of 0 causes the JSP to be checked on every access. Used only if development is set to true. |
Type: Integer 0 to 2147483647 |
0 |
N/A |
0 or 1 time |
reload-interval |
Specifies the frequency in seconds at which JSP files are checked for modifications. Setting this value to 0 checks the JSP files for modifications on every request. Setting this value to -1 disables checks for JSP modifications and JSP recompilation. |
Type: Integer -1 to 2147483647 |
0 |
N/A |
0 or 1 time |
saveBytecode |
If set to true, generated byte code is saved to .class files. This option is meaningful only when the Java compiler API, JSR 199 (available with and used as the default on Java 6) is used for javac compilations. |
Type: Boolean {true | false} |
<true for jspc, otherwise false> |
N/A |
0 or 1 time |
scratchdir |
Specifies the working directory created for storing all the generated code. |
Type: String |
<Default work directory for the web application> |
N/A |
0 or 1 time |
suppressSmap |
If set to true, generation of the SMAP information for JSR 45 debugging is suppressed. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
trimSpaces |
If set to true, trims white spaces in template text between actions or directives. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
usePrecompiled |
If set to true, an accessed JSP file is not compiled and its precompiled servlet class is used instead. It is assumed that JSP files have been precompiled and their corresponding servlet classes have been bundled in the web application WEB-INF/lib or WEB-INF/classes directory. |
Type: Boolean {true | false} |
false |
N/A |
0 or 1 time |
xpoweredBy |
If set to true, the X-Powered-By response header is added by the generated servlet. |
Type: Boolean {true | false} |
true |
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.