org.davesag.generica.servlet.action
Class ForwardAction
java.lang.Object
org.apache.struts.action.Action
org.davesag.generica.servlet.action.AbstractAction
org.davesag.generica.servlet.action.ForwardAction
- public class ForwardAction
- extends AbstractAction
The Forward Action simply passes control on to the path specified in the
"success" forward, as specified in the Struts config file.
- Since:
- Generica 1.0
- Version:
- CVS Revision $Id: ForwardAction.java,v 1.11 2004/03/30 13:00:41 davesag Exp $
- Author:
- Dave Sag
http://www.davesag.com
| Fields inherited from class org.apache.struts.action.Action |
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
| Methods inherited from class org.davesag.generica.servlet.action.AbstractAction |
abortTransaction, commitTransaction, furtherActions, genericActions, getApplication, getController, getController, getHibernateSession, getLocale, getMessages, getNextForward, openTransaction, presentation, saveActionErrors, setNextForward |
| Methods inherited from class org.apache.struts.action.Action |
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForwardAction
public ForwardAction()
execute
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- forwards control to the given page after doing any generic actions.
- Parameters:
mapping - the struts actioin mappingform - the form beanrequest - the http requestresponse - the http response.
- Returns:
- the right action foreward
- Throws:
Exception - if anything went wrong.
Dave Sag Generica API version 0.5.9 - (prerelease) Copyright © 2003 - 2004 Dave Sag.