uCosminexus Application Server, Web Container Functionality Guide
When you do not use the JSP pre-compilation functionality, the JSP files are compiled during initial access to a JSP file. This subsection describes the JSP compilation results and the method of changing the output destination of the compilation results, when the JSP pre-compilation functionality is not used.
The lifecycle of the JSP compilation results when you do not use the JSP pre-compilation functionality is explained below:
If you do not perform JSP pre-compilation, with a Web container, you can specify whether to maintain the Java source files and class files that serve as JSP compilation results, when a J2EE server is restarted.
Customize the properties of the J2EE server to specify the settings for maintaining the compilation results of JSP files. For details on customizing the settings of the J2EE server operations, see 2.5.8 Execution environment settings (J2EE server settings).
When you do not implement the JSP pre-compilation functionality, the JSP compilation results are output to the temporary directory for JSP.
The following files are output:
The default output destination and the configuration of the output destination directory are explained below:
For details on the output class names, see 2.5.7 Class names in JSP compilation results.
When you do not execute the JSP pre-compilation functionality, the JSP compilation results are output to the directory for each Web application created under the temporary directory for JSP. The default temporary directory for JSP is at the following location:
Note that the default value is set for the temporary directory for JSP. However, if necessary, you can change the default value. For details on changing the temporary directory for JSP, see 2.5.8 Execution environment settings (J2EE server settings).
The directory will be created for each Web application under the temporary directory for JSP and the JSP compilation results that exist in the relevant Web application will be output.
Note that the directory for the Web applications has the directory name based on the context root name. If the context root name includes a slash (/), dollar sign ($), percent sign (%), and plus sign (+), the characters will be converted to the following characters:
Characters before conversion | Characters after conversion |
---|---|
/ | $2f |
$ | $24 |
% | $25 |
+ | $2b |
The following figure shows the configuration of the output destination directory for JSP compilation results.
Figure 2-8 Configuration of output destination directory for JSP compilation results (When JSP pre-compilation is not executed)
The directory configuration is explained below:
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.