uCosminexus Application Server, Web Container Functionality Guide
To customize the error page with the in-process HTTP server, use the sendError method of the javax.servlet.http.HttpServletResponse interface, and set the response status code. Note that if you use the setStatus method (such as when the setStatus method is used in JSP), customization might not be executed by the in-process HTTP server. However, even if you use the sendError method, if the Web application fulfills one of the following conditions, the error page is not customized by the in-process HTTP server:
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.