Class PerformInclude
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractPerformInclude
org.apache.struts.chain.commands.servlet.PerformInclude
- All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>,ActionCommand
Perform forwarding or redirection based on the specified include uri (if any).
- Version:
- $Rev$ $Date: 2005-11-09 00:11:45 -0500 (Wed, 09 Nov 2005) $
-
Field Summary
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringincludePath(ActionContext actionContext, String include) Returns the path to perform the include.protected voidperform(ActionContext context, String uri) Perform the appropriate processing on the specified include uri.Methods inherited from class org.apache.struts.chain.commands.AbstractPerformInclude
execute_Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
PerformInclude
public PerformInclude()
-
-
Method Details
-
perform
Perform the appropriate processing on the specified include uri.
- Specified by:
performin classAbstractPerformInclude- Parameters:
context- The context for this requesturi- The uri to be included- Throws:
Exception- if thrown by theAction
-
includePath
Description copied from class:AbstractPerformIncludeReturns the path to perform the include. Override this method to provide a different path.
- Overrides:
includePathin classAbstractPerformInclude- Parameters:
actionContext- The context for this requestinclude- The forward to be performed
-