| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ActionServlet com.ibm.portal.struts.portlet.WpActionServlet
public class WpActionServlet
The WpActionServlet
extends the Struts ActionServlet. The WpActionServlet
is not an extension point for modifying the Struts application. The Request Processor
and StrutsPortlet should be the extension points. The WpActionServlet is the
ActionServlet object that is returned from the getServlet call in a Struts Action.
The WpActionServlet can be used to obtain the portlet config and the portlet context
objects.
Field Summary | |
---|---|
static java.lang.String | INCLUDE_SERVLET_PATH
The request attribute under which the servlet path information is stored for processing during a RequestDispatcher.include() call. |
Constructor Summary | |
---|---|
PortletConfig, com.ibm.portal.struts.portlet.StrutsInfo)">WpActionServlet(ServletContext servletContext,
ServletConfig servletConfig,
PortletConfig portletConfig,
StrutsInfo strutsInfo)
The WpActionServlet Constructor |
Method Summary | |
---|---|
PortletConfig | getPortletConfig()
Get the Portlet configuration object. |
PortletContext | getPortletContext()
Get the Portlet context |
ServletConfig | getServletConfig()
Get the servlet config object |
ServletContext | getServletContext()
Get the servlet context object |
java.lang.String | getServletName()
Get the servlet name |
StrutsInfo | getStrutsInfo()
Get the Struts/Servlet information object |
java.lang.String | getStrutsRoot()
Get the Struts/Servlet Context Root |
void | init()
This init method just calls the super ActionServlet init method.
|
void | setStrutsRoot(java.lang.String strutsRoot)
Set the Struts/Servlet Context Root |
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 INCLUDE_SERVLET_PATH
Constructor Detail |
---|
public WpActionServlet(ServletContext servletContext, ServletConfig servletConfig, PortletConfig portletConfig, StrutsInfo strutsInfo)
Method Detail |
---|
public java.lang.String getServletName()
public ServletConfig getServletConfig()
public PortletConfig getPortletConfig()
public ServletContext getServletContext()
public PortletContext getPortletContext()
public StrutsInfo getStrutsInfo()
public java.lang.String getStrutsRoot()
public void setStrutsRoot(java.lang.String strutsRoot)
public void init() throws ServletException
ActionServlet
init method.
The ActionServlet
actually digests the Struts configuration.
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |