Subject: PL/SQL Web applications displays the HTML code as plain text in the browser Content Type: TEXT/PLAIN Last Revision Date: 21-JAN-2001 You have migrated PL/SQL Web Toolkit applications to Oracle 9i Application Server. When requesting the application in Netscape Navigator, you are getting the HTML code back as plain text, i.e it is not rendered as HTML. Internet Explorer might or might not have the same problem, as the problem is caused by a symbiose of factors. The first problem is that the Oracle HTTP Server upon responding to the client doesn't know what kind of mime-type the response contains, so Oracle HTTP Server will send the response according to it's default mime-type as defined in httpd.conf with the DefaultType directive. The second issue is that when client recieves a text/plain response it will be displayed differently from one browsr to another, as it is also a client option how to deal with mime-types. We will however encourage you to set the mime-type to text/html on the server to avoid confusion, and because clientside workarounds is not feasible in an Internet scenario. 1. The easiest workaround is to edit the httpd.conf and change the line DefaultType text/plain to DefaultType text/html After this change save the httpd.conf file and restart the Apache listener. 2. Another easy workaround is to specify the mime-type in the PL/SQL code with owa_util.mime_header('text/html',true); This code should come before any htp calls or else the HTTP header has allready been opened, so specifying the owa_util.mime_header('text/html',true); directly after BEGIN is recommended. Related Bugs : ============= BUG:1381812