public class MultipleAction
extends org.apache.struts.actions.DispatchAction
DispatchAction 처럼 Struts 설정 파일의 action 태그의 parameter 속성 값의
메쏘드를 호출하는 Action. 단 DispatchAction과 달리, 메쏘드 파라미터 구성이
HttpRequest, HttpResponse이며 메쏘드의 Return 값이 돌려
주려는 데이타 값이다.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class |
clazz
The Class instance of this
DispatchAction class. |
protected static org.apache.commons.logging.Log |
log
Commons Logging instance.
|
protected java.lang.Class[] |
types
The set of argument type classes for the reflected method call.
|
| Constructor and Description |
|---|
MultipleAction() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.struts.action.ActionForward |
dispatchMethod(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name)
Dispatch to the specified method.
|
protected java.lang.reflect.Method |
getMethod(java.lang.String name)
Introspect the current class to identify a method of the specified name
that accepts the same parameter types as the
execute
method does. |
cancelled, execute, getMethodName, getParameter, unspecifiedaddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletprotected static org.apache.commons.logging.Log log
protected java.lang.Class clazz
DispatchAction class.protected java.lang.Class[] types
protected java.lang.reflect.Method getMethod(java.lang.String name)
throws java.lang.NoSuchMethodException
execute
method does.getMethod in class org.apache.struts.actions.DispatchActionname - Name of the method to be introspectedjava.lang.NoSuchMethodException - if no such method can be foundprotected org.apache.struts.action.ActionForward dispatchMethod(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name)
throws java.lang.Exception
dispatchMethod in class org.apache.struts.actions.DispatchActionmapping - The ActionMapping used to select this instanceform - The optional ActionForm bean for this request (if any)request - The non-HTTP request we are processingresponse - The non-HTTP response we are creatingname - The name of the method to invokenull if the response has been completed.java.lang.Exception - if the application business logic throws an
exception.