PortletJspBase Class
- public abstract class PortletJspBase
extends Object
implements HttpJspPage, Servlet
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>
Related Topics
RenderRequest
RenderResponse
PortletConfig
-
Hierarchy
-
Object
PortletJspBase
-
All Implemented Interfaces
-
HttpJspPage, JspPage, Servlet
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portletConfig
protected PortletConfig portletConfig
renderRequest
protected RenderRequest renderRequest
renderResponse
protected RenderResponse renderResponse
servletConfig
protected ServletConfig servletConfig
PortletJspBase
public PortletJspBase()
_jspService(HttpServletRequest, HttpServletResponse) Method
public abstract void _jspService(HttpServletRequest rq,
HttpServletResponse rp)
throws ServletException, IOException
Exceptions
-
ServletException
-
IOException
destroy() Method
public final void destroy()
getServletConfig() Method
public ServletConfig getServletConfig()
getServletInfo() Method
public String getServletInfo()
init(ServletConfig) Method
public final void init(ServletConfig config)
jspDestroy() Method
public void jspDestroy()
jspInit() Method
public void jspInit()
service(ServletRequest, ServletResponse) Method
public final void service(ServletRequest request,
ServletResponse response)
throws ServletException, IOException
Exceptions
-
ServletException
-
IOException