Package org.apache.struts.chain.commands
Class AbstractPerformInclude
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractPerformInclude
- All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>
,ActionCommand
- Direct Known Subclasses:
PerformInclude
Perform forwarding or redirection based on the specified
String
(if any).
- Version:
- $Rev$ $Date: 2005-06-04 10:58:46 -0400 (Sat, 04 Jun 2005) $
-
Field Summary
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
execute_
(ActionContext actionCtx) Perform an include based on the specified include uri (if any).protected String
includePath
(ActionContext actionContext, String include) Returns the path to perform the include.protected abstract void
perform
(ActionContext context, String include) Perform the appropriate processing on the specified include uri.Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
AbstractPerformInclude
public AbstractPerformInclude()
-
-
Method Details
-
execute_
Perform an include based on the specified include uri (if any).
- Specified by:
execute_
in classActionCommandBase
- Parameters:
actionCtx
- TheContext
for the current request- Returns:
true
so that processing completes- Throws:
Exception
- if thrown by theAction
-
includePath
Returns the path to perform the include. Override this method to provide a different path.
- Parameters:
actionContext
- The context for this requestinclude
- The forward to be performed- Since:
- Struts 1.3.6
-
perform
Perform the appropriate processing on the specified include uri.
- Parameters:
context
- The context for this requestinclude
- The forward to be performed- Throws:
Exception
- if thrown by theAction
-