jspEngine - JSP Engine (jspEngine)

JSP 2.2 configuration

NameTypeDefaultDescription
disableJspRuntimeCompilationbooleanfalseDisable compilation of JSPs at runtime.
extendedDocumentRootstringDirectory that the JSP engine will search for additional JSP files to serve.
jdkSourceLevel
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
Default Java source level for JSPs compiled by the JSP engine.
13
13
14
14
15
15
16
16
17
17
18
18
keepGeneratedbooleanfalseKeep Java source files generated for JSPs.
useInMemorybooleanfalseGenerate Java source and classes in memory (without writing to disk).
recompileJspOnRestartbooleanfalseRecompile JSPs after an application is restarted. JSPs are recompiled on first access.
useImplicitTagLibsbooleantrueAllow JSPs to use jsx and tsx tag libs.
disableResourceInjectionbooleanfalseDisable injection of resources into JSPs.
prepareJSPsintWhen this attribute is present, all JSPs larger than the value (in kilobytes) are compiled at application server startup. Set this to 0 to compile all JSPs.
scratchdirstringWhen this attribute is set, the JSPs are compiled to the specified directory instead of the server workarea directory.
useJDKCompilerbooleanWhen this attribute is set, the JSPs are compiled by using the Java SDK compiler.