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
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
includePath
(ActionContext actionContext, String include) Returns the path to perform the include.protected void
perform
(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:
perform
in classAbstractPerformInclude
- Parameters:
context
- The context for this requesturi
- The uri to be included- Throws:
Exception
- if thrown by theAction
-
includePath
Description copied from class:AbstractPerformInclude
Returns the path to perform the include. Override this method to provide a different path.
- Overrides:
includePath
in classAbstractPerformInclude
- Parameters:
actionContext
- The context for this requestinclude
- The forward to be performed
-