OWA_UTIL.REDIRECT_URL To Dynamic Page Responded with Content-Type Text/Plain Error (Doc ID 986066.1)

Last updated on MARCH 08, 2017

Applies to:

Portal - Version 10.1.4.0 to 10.1.4.2 [Release 10gR2]
Information in this document applies to any platform.
Checked for relevance on 14-Apr-2015

Symptoms

1. Create a dynamic page portlet and pasted in the following code.

<HTML>
<HEAD>
<TITLE>Example</TITLE>
</HEAD>
<BODY>

<ORACLE>begin
htp.init();
owa_util.redirect_url('http://www.oracle.com');
end;
</ORACLE>
</BODY>
</HTML>

 
2.  The dynamic page return following error:

Portlet 194,17049 responded with content-type text/plain when the client was requesting content-type text/html
An error occurred while processing the request. Try refreshing your browser.
If the problem persists contact the site administrator

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms