Inserting images in portlet JSP files

To insert an image into a portlet JSP page, you can use any of the image insertion methods available from the Design page in Page Designer. For example, you can drag the Image object from the HTML Tags drawer in the Palette view, or drag an image file from the Project Explorer or Thumbnails view to the page, or use the Insert > Image File menu item.

The URL encoding support for images automatically encodes the image resources using the encodeURL() method for creating portlet URIs from which the content can be accessed.

 

Related tasks

Creating portlet JSP files