JSP Engine (jspEngine)

JSP configuration

NameTypeDefaultDescription

disableJspRuntimeCompilation

boolean

false

Disable compilation of JSPs at runtime.

disableResourceInjection

boolean

false

Disable injection of resources into JSPs.

extendedDocumentRoot

string

Directory that the JSP engine will search for additional JSP files to serve.

javaSourceLevel

  • 8

  • 11

  • 17

  • 21

Specifies the default Java source level for JSPs that are compiled by the JSP engine. Accepts one of the following LTS releases as a value: 8, 11, 17, and 21.

keepGenerated

boolean

false

Keep Java source files generated for JSPs.

prepareJSPThreadCount

int

1

When prepareJSPs is enabled, this configuration specifies the number of threads used.

prepareJSPs

int

When 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.

recompileJspOnRestart

boolean

false

Recompile JSPs after an application is restarted. JSPs are recompiled on first access.

scratchdir

string

When this attribute is set, the JSPs are compiled to the specified directory instead of the server workarea directory.

useImplicitTagLibs

boolean

true

Allow JSPs to use jsx and tsx tag libs.

useJDKCompiler

boolean

When this attribute is set, the JSPs are compiled by using the Java SDK compiler.