uCosminexus Application Server, Web Container Functionality Guide

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

6.2.11 Points to remember when upgrading the version of an existing Web application to the Servlet 3.0 specifications

This subsection describes tasks you need to perform and precautions you need to take when upgrading the version of a Web application from Servlet 2.5 to Servlet 3.0 specifications. For details on the Servlet 3.0 specifications, see Servlet 3.0 Specifications.

Organization of this subsection
(1) Specifications added or changed in the Servlet 3.0 and JSP 2.2 specifications
(2) Migrating web.xml

(1) Specifications added or changed in the Servlet 3.0 and JSP 2.2 specifications

For details on the precautions to be taken when using the additions or changes made in the Servlet 3.0 specifications, see 6.2.3 Precautions related to the specifications that are added or changed in Servlet 3.0 specifications.

The specifications added based on the JSP 2.2 specifications are not supported. However, as the web.xml schema described in JSP 2.2 is supported, even if you add the JSP 2.2 tags in web.xml, the tags are ignored but no error is reported.

(2) Migrating web.xml

Modify the definitions in web.xml according to the Servlet 3.0 specifications. For details, see Java Servlet Specification v3.0. For specification related changes, see 6.2.3 Precautions related to the specifications that are added or changed in Servlet 3.0 specifications.