Tuesday, September 6, 2011

Oracle WebCenter 11g Frame Busting

While trying to add a webpage portlet in Oracle WebCenter 11g either as a portlet or as a simple webpage hosted in the server, most of the times we encounter the following error;

"WARNING: Unable to load content in a frame. Frame content will load at the top level."

This is an obvious issue of iframe busting where the ADF layout of the webpage is unable to fit itself within the portlet container and hence is complaining. To overcome this issue, we need to add few lines of code to the web.xml file of the ADF project and redeploy the webpage.

Under the <web-app> root element of the web.xml, add the following <context-param> ;


And there we go, WebCenter portal doesn't complain anymore on loading the webpage.


  1. Hi Satya,

    In webcenter spaces how can we achieve this? I have the same issue but in Webcenter spaces.

    1. I think it has more to do with the 'portlet' content that is being added in WC spaces. You might want to check the portlet