Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nectar.action
Class BasePageAction  view BasePageAction download BasePageAction.java

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bynectar.action.BasePageAction
Direct Known Subclasses:
AbstractCommentAction, DocumentationAction, EmptyAction, FAQAction, ForumListAction, IndexAction, LoginAction, NewsListAction, SearchAction, SearchResultsAction, SupportCreateSubmitAction, SupportDeleteAction, SupportListAction, UserAction, UserCreateAction, UserCreateSubmitAction, UserRetrievePasswordAction, UserRetrievePasswordSubmitAction

public abstract class BasePageAction
extends org.apache.struts.action.Action


Field Summary
static java.lang.String ERROR_KEY
           
protected static java.lang.String FAILURE
           
private static org.apache.commons.logging.Log log
           
static java.lang.String SUCCESS
           
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
BasePageAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.
protected abstract  java.lang.String executeInternal(ActionKit kit)
           
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUCCESS

public static final java.lang.String SUCCESS
See Also:
Constant Field Values

FAILURE

protected static final java.lang.String FAILURE
See Also:
Constant Field Values

ERROR_KEY

public static final java.lang.String ERROR_KEY
See Also:
Constant Field Values

log

private static org.apache.commons.logging.Log log
Constructor Detail

BasePageAction

public BasePageAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
Description copied from class: org.apache.struts.action.Action

Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic. Return an org.apache.struts.action.ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.


executeInternal

protected abstract java.lang.String executeInternal(ActionKit kit)
                                             throws java.lang.Exception