Sample: Portlet Template, or Editable Portlet (DisplayURL)
Error.jspThe code for <%-- Copyright (c) 2003 by SAS Institute Inc., Cary, NC 27513 --%> <%@ page language="java" contentType= "text/html; charset=UTF-8" %> <%@ page import="com.sas.portal.portlet.PortletContext" %> <%@ page import="com.sas.portal.portlet.PortletConstants" %> <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> <% PortletContext context = (PortletContext)request.getAttribute( PortletConstants.CURRENT_PORTLET_CONTEXT ); %> <fmt:message key="error.msg1.txt"/> <br> <%= context.getAttribute("Exception_message") %> |