ca.bc.gov.webade.http
Class WebADEAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byca.bc.gov.webade.http.WebADEAction

public class WebADEAction
extends org.apache.struts.action.Action

Adds access to the Application class and easy access to the ServletContext to the Action class


Constructor Summary
WebADEAction()
           
 
Method Summary
 Application getApplication()
          Returns the web application's Application object.
 javax.servlet.ServletContext getServletContext()
           
 
Methods inherited from class org.apache.struts.action.Action
execute, execute, getServlet, setServlet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebADEAction

public WebADEAction()
Method Detail

getApplication

public final Application getApplication()
Returns the web application's Application object. Returns null if the Application is not defined or the controller servlet is not an instance of WebADEActionServlet.

Returns:
Return the application singleton.

getServletContext

public final javax.servlet.ServletContext getServletContext()
Returns:
The Servlet context.