com.bea.portlet.jsp
Class PortletJspBase
java.lang.Object
com.bea.portlet.jsp.PortletJspBase
- All Implemented Interfaces:
- HttpJspPage, JspPage, Servlet
- public abstract class PortletJspBase
- extends Object
- implements Servlet, HttpJspPage
A base class for JSP pages included within portlets conforming
to the Java portlet API.
This base class ensures that the following variables are
automatically availaPortletble in the JSP:
portletRequest: An object implementing the
javax.portlet.PortletRequest interface.
renderResponse: An object implementing the
javax.portlet.RenderResponse interface.
portletConfig: An object implementing the
javax.portlet.PortletConfig interface.
Portlet JSP pages could either extend this class explicitly as
in <%@page
extends="com.bea.portlet.jsp.PortletJspBase"%>, or all JSP
pages in a web app extend this class automatically by specifying
the following in weblogic.xml.
<jsp-descriptor>
<jsp-param>
<param-name>superclass</param-name>
<param-value>com.bea.portlet.jsp.PortletJspBase</param-value>
</jsp-param>
</jsp-descriptor>
- See Also:
RenderRequest
,
RenderResponse
,
PortletConfig
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portletConfig
protected javax.portlet.PortletConfig portletConfig
renderRequest
protected javax.portlet.RenderRequest renderRequest
renderResponse
protected javax.portlet.RenderResponse renderResponse
servletConfig
protected ServletConfig servletConfig
PortletJspBase
public PortletJspBase()
_jspService
public abstract void _jspService(HttpServletRequest rq,
HttpServletResponse rp)
throws ServletException,
IOException
- Specified by:
_jspService
in interface HttpJspPage
- Throws:
ServletException
IOException
destroy
public final void destroy()
- Specified by:
destroy
in interface Servlet
getServletConfig
public ServletConfig getServletConfig()
- Specified by:
getServletConfig
in interface Servlet
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo
in interface Servlet
init
public final void init(ServletConfig config)
- Specified by:
init
in interface Servlet
jspDestroy
public void jspDestroy()
- Specified by:
jspDestroy
in interface JspPage
jspInit
public void jspInit()
- Specified by:
jspInit
in interface JspPage
service
public final void service(ServletRequest request,
ServletResponse response)
throws ServletException,
IOException
- Specified by:
service
in interface Servlet
- Throws:
ServletException
IOException
Copyright © 2005 BEA Systems, Inc. All Rights Reserved