com.sas.portal.portlet
Class HTMLPortletAction
java.lang.Object
|
+--com.sas.portal.portlet.DefaultPortletAction
|
+--com.sas.portal.portlet.HTMLPortletAction
- All Implemented Interfaces:
- PortletActionInterface,
- Direct Known Subclasses:
- JspPortlet,
- public abstract class HTMLPortletAction
- extends DefaultPortletAction
This action can be extended to use with HTML portlets. The service() method
calls response.setContentType("text/html;charset=UTF-8") so that
non-Latin1 languages render via UTF-8.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLPortletAction
public HTMLPortletAction()
service
public String service(HttpServletRequest request,
HttpServletResponse response,
PortletContext context)
throws Exception
- Extend this method and call
super() first.
Assure that you return a non-null String representing the URL for the portlet.
Typically this is the name of the JSP without any path (e.g. "Foo.jsp").
In this class, this method returns null.
- Overrides:
service in class DefaultPortletAction
- Parameters:
request - The HttpServletRequestreponse - The HttpServletResponsecontext - The PortletContext- Returns:
- the URL for the portlet
- Throws:
Exception - if anything went wrong- See Also:
PortletActionInterface.service(HttpServletRequest, HttpServletResponse, PortletContext)
Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:05:12