The jsp-configuration element
Introduction
The jsp-configuration describes how the JSP container is working.
There should be only one jsp-configuration element inside an subsystem=web element.
Attributes
Common Attributes
The jsp-configuration supports the following attributes:
Attribute Description developmentEnable development mode. (see
modification-test-intervaltoo) The default value isfalse.disabledTell the container that the
jsp-configurationcontainer should be disabled. The default value isfalse.keep-generatedkeep the generated Java source code for each page. The default value is
true.trim-spacesRemove useless spaces from the response. The default value is
false.tag-poolingtag handler instances are pooled and reused. The default value is
true.mapped-filestatic content are generated with one print statement per input line, to ease debugging. The default value is
true.check-intervalThe time in seconds between checks to see if a JSP page needs to be recompiled. The default value is
0checks are dissabled.modification-test-intervalThe time in seconds a changed JSP aged before being recompiled. The default value is
4.recompile-on-failForce a recompilation attempt on next access if compilation failed. The default value is
false.smapgenerate JSR 045 SMAP Files. The default value is
true.dump-smapdump the SMAP info for JSR 045 debugging to a file The default value is
false.generate-strings-as-char-arraysgenerate text strings as char arrays. The default value is
false.error-on-use-bean-invalid-class-attributecause a compilation error when the bean can't be instantiated. The default value is
false.scratch-dirscratch directory to use when compiling JSP pages. The default value is
work.source-vmJDK version the source files are compatible with. The default value is
1.5.target-vmJDK version the class files are compatible with. The default value is
1.5.java-encodingJava file encoding to use for generating java source files. The default value is
UTF8.x-powered-byGenerated servlet adds X-Powered-By response header. The default value is
true.display-source-fragmentinclude a source fragment in exception messages. The default value is
true.



