uCosminexus Application Server, Web Container Functionality Guide

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

6.2.12 Points to remember when upgrading the version of an existing Web application to the Servlet 2.5 specifications

This subsection describes the operations and precautions required for upgrading the version of Web applications corresponding to the Servlet 2.4 specifications to the Servlet 2.5 specifications. For details on the Servlet 2.5 specifications, see the Servlet 2.5 specifications.

Organization of this subsection
(1) Specifications added and changed in Servlet 2.5 specifications and JSP 2.1 specifications
(2) Migration of web.xml
(3) Size of classes generated from JSP

(1) Specifications added and changed in Servlet 2.5 specifications and JSP 2.1 specifications

For details on the Servlet 2.5 specifications and precautions related to added and changed specifications in the JSP 2.1, see 6.2.4 Precautions related to added and changed specifications in the Servlet 2.5 specifications or 6.2.7 Precautions related to added and changed specifications in the JSP 2.1 specifications respectively.

(2) Migration of web.xml

web.xml is modified to the definition specified in the Servlet 2.5 specifications. For details, see Java Servlet Specification v2.5. Furthermore, for details on changing the specifications, see 6.2.4 Precautions related to added and changed specifications in the Servlet 2.5 specifications.

(3) Size of classes generated from JSP

The functionality of JSP 2.1 specifications is applied to the classes generated from the JSP included in the Web applications compliant with Servlet 2.5 specifications. Therefore, the contents of the Java source files and class files generated from JSP are changed.

In this case, note that the number of lines in the Java source file, the size of the methods included in the classes generated from JSP, or the usage of the Permanent area may increase.