public interface UnknownHandler
This allows other classes like Struts plugins to provide intelligent defaults easier.
| Modifier and Type | Method and Description | 
|---|---|
| ActionConfig | handleUnknownAction(String namespace,
                   String actionName)Handles the case when an action configuration is unknown. | 
| Object | handleUnknownActionMethod(Object action,
                         String methodName)Handles the case when an action method cannot be found. | 
| Result | handleUnknownResult(ActionContext actionContext,
                   String actionName,
                   ActionConfig actionConfig,
                   String resultCode)Handles the case when a result cannot be found for an action and result code. | 
ActionConfig handleUnknownAction(String namespace, String actionName) throws StrutsException
namespace - The namespaceactionName - The action nameStrutsException - in case of errorsResult handleUnknownResult(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode) throws StrutsException
actionContext - The action contextactionName - The action nameactionConfig - The action configresultCode - The returned result codeStrutsException - in case of errorsObject handleUnknownActionMethod(Object action, String methodName)
action - The action objectmethodName - The method name to callCopyright © 2000–2025 Apache Software Foundation. All rights reserved.