My Oracle Support Banner

Embedding an SFW File In A Portletized Task Flow Fails to Display the Flash Content and Returns an HTTP-404 Error (Doc ID 1342894.1)

Last updated on MARCH 07, 2019

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.


When trying to embed a flash file (.swf) in ADF taskflow and portletizing the taskflow using the Portlet Bridge it fails to display the flash content and generates an HTTP-404 error. The issue occurs only if the ADF taskflow is portletized, and the standalone ADF Taskflow when run displays the flash correctly.

The following is a simple test case which can be used to view the behavior:

* Use a simple flash viewlet created for testing called rdademo.swf, and place it in the JDev project folder.
* Create an HTML file "untitled1.html" to use the above flash:


Run the JSF, the flash displays correctly.


However, portletizing it and adding it to a test JSF page will error out, see the following steps:

1. Create an HTML and add a reference to .swf/flash object.
2. Create an ADF taskflow with a jsff view referencing the HTML (holding .swf) created in step 1 above.

To test the flash functionality: Consume the ADF Taskflow created in step 2 to a sample JSF page and run the JSF page
Result: Flash displays correctly in the ADF Taskflow.

3. Now portletize the ADF taskflow in step 2 using Portlet Bridge, and consume the portlet to any application or Spaces and test.
Result: The flash doesnt gets displayed, it shows a black region with scroll bars but the flash will not display.

Note: The issue is reproduced when the .swf file is placed in the JDeveloper project directory directly.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.