|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.core.servlet.jsp.PortalJsp
public abstract class PortalJsp
Any JSP page using the JBoss library should extend that class. It is done by adding the following line at the top of the JSP <%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
Field Summary | |
---|---|
static java.lang.ThreadLocal |
contextStack
Stack of context, needed by expression language static methods |
static java.lang.String |
CTX_REQUEST
Key for context attribute in the portlet request. |
static Logger |
logger
To log JSP related information |
static java.lang.ThreadLocal |
request
HttpServletRequest so that it can be accessed in expression language static methods |
Constructor Summary | |
---|---|
PortalJsp()
|
Method Summary | |
---|---|
abstract void |
_jspService(HttpServletRequest arg0,
HttpServletResponse arg1)
HttpJspPage implementation |
void |
destroy()
HttpJspPage implementation |
ServletConfig |
getServletConfig()
HttpJspPage implementation |
java.lang.String |
getServletInfo()
HttpJspPage implementation |
void |
init(ServletConfig config)
HttpJspPage implementation |
void |
jspDestroy()
HttpJspPage implementation |
void |
jspInit()
HttpJspPage implementation |
protected void |
log(java.lang.String msg)
For Jasper which seems to want a log method in the generated JSP. |
void |
service(ServletRequest request,
ServletResponse response)
HttpJspPage implementation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CTX_REQUEST
public static final java.lang.ThreadLocal request
public static final java.lang.ThreadLocal contextStack
public static Logger logger
Constructor Detail |
---|
public PortalJsp()
Method Detail |
---|
public abstract void _jspService(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, java.io.IOException
ServletException
java.io.IOException
javax.servlet.jsp.HttpJspPage#_jspService(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
public void jspInit()
javax.servlet.jsp.JspPage#jspInit()
public void jspDestroy()
javax.servlet.jsp.JspPage#jspDestroy()
public void init(ServletConfig config) throws ServletException
ServletException
javax.servlet.Servlet#init(javax.servlet.ServletConfig)
public ServletConfig getServletConfig()
javax.servlet.Servlet#getServletConfig()
public void service(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException
javax.servlet.Servlet#service(javax.servlet.ServletRequest,javax.servlet.ServletResponse)
public java.lang.String getServletInfo()
javax.servlet.Servlet#getServletInfo()
public void destroy()
javax.servlet.Servlet#destroy()
protected final void log(java.lang.String msg)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |