Package | Description |
---|---|
org.apache.struts.action |
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
|
org.apache.struts.config |
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file. |
org.apache.struts.config.impl | |
org.apache.struts.tiles |
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
|
org.apache.struts.util |
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
|
Modifier and Type | Class and Description |
---|---|
class |
ActionForward
An ActionForward represents a destination to which the
controller,
RequestProcessor , might be directed to
perform a RequestDispatcher.forward or
HttpServletResponse.sendRedirect to, as a result of
processing activities of an Action class. |
class |
ActionRedirect
A subclass of
ActionForward which is designed for use
in redirecting requests, with support for adding parameters
at runtime. |
class |
ForwardingActionForward
A subclass of
ActionForward that defaults the
redirect attribute to false . |
class |
RedirectingActionForward
A subclass of ActionForward that defaults the
redirect attribute to true . |
Modifier and Type | Method and Description |
---|---|
protected void |
RequestProcessor.processForwardConfig(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ForwardConfig forward)
Forward or redirect to the specified destination, by the specified
mechanism.
|
Constructor and Description |
---|
ActionRedirect(ForwardConfig baseConfig)
Construct a new instance with a
ForwardConfig object
to copy name, path, and contextRelative values from. |
Modifier and Type | Method and Description |
---|---|
ForwardConfig |
ModuleConfig.findForwardConfig(java.lang.String name)
Return the forward configuration for the specified key, if any;
otherwise return
null . |
ForwardConfig |
ActionConfig.findForwardConfig(java.lang.String name)
Return the forward configuration for the specified key, if any;
otherwise return
null . |
ForwardConfig[] |
ModuleConfig.findForwardConfigs()
Return the form bean configurations for this module.
|
ForwardConfig[] |
ActionConfig.findForwardConfigs()
Return all forward configurations for this module.
|
Modifier and Type | Method and Description |
---|---|
void |
ModuleConfig.addForwardConfig(ForwardConfig config)
Add a new
ForwardConfig instance to the set of global
forwards associated with this module. |
void |
ActionConfig.addForwardConfig(ForwardConfig config)
Add a new
ForwardConfig instance to the set of global
forwards associated with this action. |
void |
ModuleConfig.removeForwardConfig(ForwardConfig config)
Remove the specified forward configuration instance.
|
void |
ActionConfig.removeForwardConfig(ForwardConfig config)
Remove the specified forward configuration instance.
|
Modifier and Type | Method and Description |
---|---|
ForwardConfig |
ModuleConfigImpl.findForwardConfig(java.lang.String name)
Return the forward configuration for the specified key, if any;
otherwise return
null . |
ForwardConfig[] |
ModuleConfigImpl.findForwardConfigs()
Return the form bean configurations for this module.
|
Modifier and Type | Method and Description |
---|---|
void |
ModuleConfigImpl.addForwardConfig(ForwardConfig config)
Add a new
ForwardConfig instance to the set of global
forwards associated with this module. |
void |
ModuleConfigImpl.removeForwardConfig(ForwardConfig config)
Remove the specified forward configuration instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TilesRequestProcessor.processForwardConfig(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ForwardConfig forward)
Overloaded method from Struts' RequestProcessor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
RequestUtils.forwardURL(javax.servlet.http.HttpServletRequest request,
ForwardConfig forward)
Return the context-relative URL that corresponds to the specified
ForwardConfig . |
static java.lang.String |
RequestUtils.forwardURL(javax.servlet.http.HttpServletRequest request,
ForwardConfig forward,
ModuleConfig moduleConfig)
Return the context-relative URL that corresponds to the specified
ForwardConfig . |
Copyright ? 2000-2014 - The Apache Software Foundation