uCosminexus Application Server, Web Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

2.5.8 Execution environment settings (J2EE server settings)

To use the JSP pre-compilation functionality or to maintain the compilation results, you must specify the J2EE server settings.

Implement the J2EE server settings in the Easy Setup definition file. Specify the definition for using the JSP pre-compilation functionality or for maintaining the compilation results within the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file.

The following table lists the definitions of the Easy Setup definition file for using the JSP pre-compilation functionality or maintaining the compilation results:

Table 2-16 Definitions of the Easy Setup definition file for using the JSP pre-compilation functionality or maintaining the compilation results

Items Parameter to be specified Setting contents
JSP pre-compile webserver.jsp.additional.import.list Specify the class name (fully-qualified class name or "package name.*") to be imported implicitly during JSP compilation.
webserver.jsp.keepgenerated You can specify whether to save the Java source files generated from the JSP file.
webserver.jsp.compile.backcompat Specify the version of the Java language specifications used for compiling the Java source files.
Note that if the version of the Java source files generated from the JSP file by the Web application is different, specify the version for each Web application and implement JSP pre-compile.
webserver.jsp.precompile.jsp_work_dir Specify the directory to output the compilation results when the JSP pre-compilation functionality is implemented.
webserver.xml.validate Specify whether to validate the TLD file during the execution of the JSP pre-compilation functionality, when the version of servlets included in the Web application is earlier than the version 2.3.
Note that you specify this parameter when the Web application version is earlier than the version 2.3. If the Web application has the version 2.4 or later versions, the validation is implemented by default, so you cannot specify a value in this parameter.
Save the compilation result of the JSP file webserver.work.clean Specify whether you want to maintain the compilation results.
webserver.work.directory Specify the output destination (temporary directory for JSP) for the compilation results. Specify this parameter to change the default output destination#. For details on the JSP working directory, see 2.5.6(3) Output destination of JSP compilation results. Note that this is the output destination when you do not execute the JSP pre-compilation functionality.

#
To change the settings for the temporary directory of JSP
After operating the Web container with settings to maintain the JSP compilation results, if you change the settings for the temporary directory of JSP, the old temporary directory of JSP will not be deleted. Therefore, you must delete the temporary directory manually.

For details on the Easy Setup definition file and the parameters to be specified, see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.