org.apache.struts.webapp.dispatch
Class ActionDispatcherExample
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.webapp.dispatch.ActionDispatcherExample
public class ActionDispatcherExample
- extends org.apache.struts.action.Action
Example DispatchAction.
- Version:
- $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $
Fields inherited from class org.apache.struts.action.Action |
servlet |
Method Summary |
org.apache.struts.action.ActionForward |
doBar(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Example "bar" method. |
org.apache.struts.action.ActionForward |
doFoo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Example "foo" method. |
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)
Execute method. |
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 |
ActionDispatcherExample
public ActionDispatcherExample()
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
- Execute method.
- Overrides:
execute
in class org.apache.struts.action.Action
- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this requestrequest
- The servlet request we are processingresponse
- The servlet response we are creating
- Throws:
java.lang.Exception
- if business logic throws an exception
doFoo
public org.apache.struts.action.ActionForward doFoo(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
- Example "foo" method.
- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this requestrequest
- The servlet request we are processingresponse
- The servlet response we are creating
- Throws:
java.lang.Exception
- if business logic throws an exception
doBar
public org.apache.struts.action.ActionForward doBar(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
- Example "bar" method.
- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this requestrequest
- The servlet request we are processingresponse
- The servlet response we are creating
- Throws:
java.lang.Exception
- if business logic throws an exception
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.