Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Servlet Development Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

5.5 Browser Displays HTML Code from Servlet

Some browsers determine the type of document contained in the response based solely on the Content-Type header of the HTTP response. The servlet container does not provide a Content-Type header for a new response. To correct this problem:

Once the servlet sets the Content-Type to text/html, the browser should correctly display the rendered page.



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.