|
|||||||||
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 org.jboss.logging.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(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1)
HttpJspPage implementation |
void |
destroy()
HttpJspPage implementation |
javax.servlet.ServletConfig |
getServletConfig()
HttpJspPage implementation |
java.lang.String |
getServletInfo()
HttpJspPage implementation |
void |
init(javax.servlet.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(javax.servlet.ServletRequest request,
javax.servlet.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 org.jboss.logging.Logger logger
Constructor Detail |
---|
public PortalJsp()
Method Detail |
---|
public abstract void _jspService(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1) throws javax.servlet.ServletException, java.io.IOException
_jspService
in interface javax.servlet.jsp.HttpJspPage
javax.servlet.ServletException
java.io.IOException
HttpJspPage._jspService(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
public void jspInit()
jspInit
in interface javax.servlet.jsp.JspPage
JspPage.jspInit()
public void jspDestroy()
jspDestroy
in interface javax.servlet.jsp.JspPage
JspPage.jspDestroy()
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
javax.servlet.ServletException
Servlet.init(javax.servlet.ServletConfig)
public javax.servlet.ServletConfig getServletConfig()
getServletConfig
in interface javax.servlet.Servlet
Servlet.getServletConfig()
public void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, java.io.IOException
service
in interface javax.servlet.Servlet
javax.servlet.ServletException
java.io.IOException
Servlet.service(javax.servlet.ServletRequest,javax.servlet.ServletResponse)
public java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
Servlet.getServletInfo()
public void destroy()
destroy
in interface javax.servlet.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 |