uCosminexus Application Server, Web Container Functionality Guide

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

5.7.2 Response customization

You can also customize a specific file to return as a response for the requests to a specific URL. If the status code of the response for the request to a redirected URL is 300 to 307, the response body is auto-generated and the response is returned to the client. You can also use a specified file as the response body. When you specify the file, specify the Content-Type header of the response as well.

For details on the status code for which the response is auto-generated and for the settings for request distribution with the redirector (in the in-process HTTP server), see 5.7.3 Execution environment settings (J2EE server settings).