+

Search Tips   |   Advanced Search

JSP tags for standard portlets


The standard portlet API defines several tags that can be used in portlet JSPs to get access to the portlet request and response and to generate URLs.

To make these tags available in a JSP, the following directive is required at the beginning of the JSP:

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

For more information on these tags refer to the Java Portlet Specification.

WebSphere Portal provides an additional tag for use in standard portlets. To make these tags available in a JSP, the following directive is required:

<%@ taglib 
    uri="http://www.ibm.com/xmlns/prod/websphere/portal/v8/portlet/ibm-portlet-ext" 
    prefix="portlet-ext" %>

The following is a brief description of the extension to the JSR 168 portlet JSP tag library.

We can also use JSTL tags as described in Generating output.


Parent: Portlet development reference
Related:
Markup guidelines
Build .ear and .war files
Access the portlet session on the anonymous page
Deployment descriptors
IBM portlet DTD tag reference
JSP tags for IBM portlets
Handling and visibility of request parameters in portlets
Detailed descriptions of the Struts WML tags
Application extension registry
Generating output
Related reference:
Standard portlet API