org.apache.struts.apps.mailreader.actions
Class MainMenuAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.apache.struts.actions.MappingDispatchAction
org.apache.struts.apps.mailreader.actions.BaseAction
org.apache.struts.apps.mailreader.actions.MainMenuAction
public final class MainMenuAction
- extends BaseAction
Forward to logon result if user object is missing,
otherwise forward to the MainMenu result (success).
Fields inherited from class org.apache.struts.action.Action |
servlet |
Methods inherited from class org.apache.struts.apps.mailreader.actions.BaseAction |
doCancel, doFindFailure, doFindLogon, doFindSuccess, doGet, doGetSubscription, doGetSubscription, doGetUser, doGetUser, doGetUserDatabase, doInputForward, doLogProcess, doSaveToken, doSaveUser, doSet |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, 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 |
MainMenuAction
public MainMenuAction()
execute
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Description copied from class:
MappingDispatchAction
- Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
Return an
ActionForward
instance describing where and how
control should be forwarded, or null
if the response has
already been completed.
This method dispatches the request to other methods of
MappingDispatchAction
using the 'parameter' attribute of
ActionMapping
and Java Introspection.
- Overrides:
execute
in class MappingDispatchAction
- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creating
- Returns:
- Return an
ActionForward
instance describing where
and how control should be forwarded, or null
if
the response has already been completed.
- Throws:
Exception
- if an exception occurs
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.