org.apache.struts.chain.commands.servlet
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, ActionCommand
public class PerformInclude
- extends AbstractPerformInclude
Perform forwarding or redirection based on the specified include uri (if
any).
- Version:
- $Rev: 471754 $ $Date: 2005-11-09 00:11:45 -0500 (Wed, 09 Nov 2005)
$
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerformInclude
public PerformInclude()
perform
protected void perform(ActionContext context,
String uri)
throws Exception
Perform the appropriate processing on the specified include
uri.
- Specified by:
perform
in class AbstractPerformInclude
- Parameters:
context
- The context for this requesturi
- The uri to be included
- Throws:
Exception
- if thrown by the Action
includePath
protected String includePath(ActionContext actionContext,
String include)
- Description copied from class:
AbstractPerformInclude
Returns the path to perform the include. Override this method to provide
a different path.
- Overrides:
includePath
in class AbstractPerformInclude
- Parameters:
actionContext
- The context for this requestinclude
- The forward to be performed
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.