uCosminexus Application Server, Web Container Functionality Guide
This subsection describes the operations and precautions required for upgrading the version of Web applications corresponding to the Servlet 2.2 specifications or Servlet 2.3 specifications to the Servlet 2.4 specifications. For details on the Servlet 2.4 specifications, see the Servlet 2.4 specifications.
The web.xml file created according to the Servlet 2.2 specifications or Servlet 2.3 specifications is modified to the definition specified in the Servlet 2.4 specifications. For the points changed in the Servlet 2.4 specifications, see 5.2.5 Notes on specifications added or changed in Servlet 2.4 or later versions (web.xml) in the uCosminexus Application Server Application and Resource Definition Reference Guide.
In Servlet 2.4 specifications, specifications are added and changed from Servlet 2.2 and Servlet 2.3. Check the added and changed points and modify in the code corresponding to the Servlet 2.4 specifications. For details on the points that are added and changed in the Servlet 2.4 specifications, see 6.2.5 Precautions related to added and changed specifications in the Servlet 2.4 specifications.
Furthermore, even in the JSP 2.0 specifications, the specifications are added and changed from JSP 1.2. Check the added and changed points and modify to the code corresponding to the JSP 2.0 specifications. For details on the points that are added and changed in the JSP 2.0 specifications, see 6.2.8 Precautions related to added and changed specifications in the JSP 2.0 specifications.
The Web applications corresponding to the Servlet 2.4 specifications cannot be executed in the servlet engine mode. Consequently, if the servlet engine mode is used, the migration must be performed to the J2EE server mode.
For migrating from the servlet engine mode to the J2EE server mode, see 3. Servlet engine mode in the uCosminexus Application Server Compatibility Guide.
The JSP files contained in the Web applications corresponding to the Servlet 2.4 specifications conform to the JSP 2.0 specifications. In the JSP 2.0 specifications, the syntax check is performed even more strictly than in JSP 1.2 specifications. Therefore, errors that are not reported in the Web applications of the Servlet 2.3 specifications are now reported.
When you upgrade the versions of Web applications corresponding to the Servlet 2.2 specifications or Servlet 2.3 specifications to the Servlet 2.4 specifications, compile JSP using the cjjspc command and confirm that errors do not occur. If a compilation error is reported, make corrections according to the contents of the reported errors.
For details on the cjjspc command, see 2.5.2 Methods for performing JSP pre-compilation.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.