uCosminexus Application Server, Web Container Functionality Guide
This subsection describes the precautions related to the prefix attribute of the taglib directive, differences in JSP compilation operations depending on the usage of the JSP translation backward compatibility function, and the definition of the JSP translation backward compatibility function.
In the JSP specifications, you cannot use a custom tag that uses the prefix specified in the taglib directive before the taglib directive. The version 07-00 and later versions check whether the custom tag that uses the prefix specified in the taglib directive is coded before the taglib directive according to the JSP specifications. If the custom tag that uses the prefix specified in the taglib directive is coded before the taglib directive, an error occurs during translation. However, with versions prior to 07-00, this check is not performed, therefore, the coded custom tag is handled as a string.
Therefore, if the custom tag is coded using the prefix specified in the taglib directive before the taglib directive, the JSP compiled results are different with the versions prior to 07-00 and with version 07-00 and later versions.
If the custom tag that uses the prefix specified in the taglib directive is coded before the taglib directive, make sure that you set up the JSP translation backward compatibility function.
The differences in the compilation operations when the JSP translation backward compatibility function is used and when the function is not used with version 07-00 and later versions are as follows:
To define the JSP translation backward compatibility function, specify the following parameter in the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file:
For details on the Easy Setup definition file and the parameters to be specified, see the uCosminexus Application Server Definition Reference Guide.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.