Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem using PortalWebAsset project in Apache server for static contents.

856054Apr 18 2011
Hi All,

I am trying to decouple the Portal and PortalWebAssest project. I have all static content like image, css there. I followed the steps for "5.3.4.2 Mapping URLs Dynamically" from "http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_app_create.htm#CIABHBJC". But portal application is not able to resolve the application's context URL as given in url-prefix (adf-config.xml).

Below are the steps, please let me know if I am missing any step.

1. Deployed PortalWebAssest in Apache web server with image and css.

2. Added image in jspx in Portal project as below
<af:image id="i1"
source="/oracle/webcenter/infosario/skin/images/logo.PNG"/>
3. Added following configuration adf-config.xml
<portal:resource-mappings>
<portal:resource-mapping path="/oracle/webcenter/infosario/skin/images"
url-prefix="http://localhost:8080/PortalWebAssest"/>
</portal:resource-mappings>
</portal:adf-portal-config>

note: httpd configuration is working fine.

Thanks
-AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2011
Added on Apr 18 2011
0 comments
170 views