com.sas.portal.portlets.JspPortlet
Class JspPortlet

com.sas.portal.portlets.JspPortlet.JspPortlet
All Implemented Interfaces:
PortletActionInterface, java.io.Serializable

public final class JspPortlet

Convenience action for simple JSP (HTML) portlets. This action can used by any portlet represented entirely by a JSP (no Java classes).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.portal.portlet.DefaultPortletAction
_actionInfo
 
Constructor Summary
JspPortlet()
           
 
Method Summary
 java.lang.String service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, PortletContext context)
          Returns the value of "display-page" from the portlet's XML descriptor.
 
Methods inherited from class com.sas.portal.portlet.DefaultPortletAction
getInfo, setInfo
 

Constructor Detail

JspPortlet

public JspPortlet()
Method Detail

service

public java.lang.String service(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                PortletContext context)
                         throws java.lang.Exception
Returns the value of "display-page" from the portlet's XML descriptor.

Specified by:
service in interface PortletActionInterface
Overrides:
service in class HTMLPortletAction
Parameters:
request - The HtppServletRequest associated with the method invocation
response - HttpServletResponse associated with the method invocation
context - PortletContext mapped to the request path
Returns:
java.lang.String - representing a valid URL.
Throws:
java.lang.Exception - if anything went wrong
See Also:
PortletActionInterface.service(HttpServletRequest, HttpServletResponse, PortletContext)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.