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!

Display image from ucm in Jsr 286 portlets

3200663Aug 16 2016 — edited Aug 16 2016

Hello All,

              I need to display image from content server to the view.jsp page created in jdev 12c . I create a jsr286 portlets and will consume in portal .The below is the one i tried to get image from content server in jsp view page which is unsuccessful.I tried three ways to bring the same image which i failed Please help me if anyone knows.Thanks in advance

<%@ page contentType = "text/html; charset=windows-1252"

         pageEncoding = "windows-1252"

         import = "javax.portlet.*, java.util.*, portlet.Portlet1, portlet.resource.Portlet1Bundle"%>

<%@ taglib uri = "http://java.sun.com/portlet_2_0" prefix="portlet"%>

<%@ page deferredSyntaxAllowedAsLiteral="true" %>

<portlet:defineObjects/>

<p class="portlet-font">Welcome, this is the ${renderRequest.portletMode} mode.</p>

<img src="http://192.168.1.205:16200/cs/groups/personalspaces/documents/document/njiw/mdaw/~edisp/19216812051620000201.jpg"

     alt="no image"/>

<img src="#{WCAppContext.applicationURL}/content/conn/WebCenterSpaces-ucm/uuid/dDocName%3a19216812051620000201"

     alt="no"/>

    

<img src="${WCAppContext.applicationURL}/content/conn/WebCenterSpaces-ucm/uuid/dDocName%3a19216812051620000201"

     alt="no"/>

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2016
Added on Aug 16 2016
3 comments
378 views