uCosminexus Application Server, Web Container Functionality Guide
This subsection describes the format and the conversion rules of the class names generated from the JSP file or tag file.
The class name format of the classes generated from JSP files or tag files depend on the file type and whether the JSP debug functionality is enabled. The following table lists the class name formats:
Table 2-14 Class name format of classes generated from JSP files or tag files
File type | When the JSP debug functionality is disabled | When the JSP debug functionality is enabled |
---|---|---|
JSP files | file-name | file-name_jsp |
Tag files | file-name_ | file-name_tag |
The rules specified in (2) Class name conversion rules are applied to file-name.
If the name of the class generated from the JSP file or tag file contains characters that cannot be used as class name, underscore (_), or dollar sign ($), the following conversion rules are applied sequentially:
The conversion rule in step 1 is applied only to the first character. The conversion rules in step 2 and 3 are applied sequentially from the beginning of the string.
The following table describes the conversion examples for names of classes generated from JSP files or tag files:
Table 2-15 Conversion examples for names of classes generated from JSP files or tag files
File type | File name | JSP debug functionality | Class name |
---|---|---|---|
JSP files | index.jsp | -- | index$jsp |
Y | index$jsp_jsp | ||
10test-10.jspx | -- | $10test_002d10$jspx | |
Y | $10test_002d10$jspx_jsp | ||
test.tag | -- | test$tag | |
Y | test$tag_jsp | ||
Tag files | tagfile1.tag | -- | tagfile1$tag_ |
Y | tagfile1$tag_tag | ||
Tag_File$10.tagx | -- | Tag_005fFile_002410$tagx_ | |
Y | Tag_005fFile_002410$tagx_tag |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.