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 |
Modifier and Type | Method and Description |
---|---|
ActionForward |
ExceptionHandler.execute(java.lang.Exception ex,
ExceptionConfig ae,
ActionMapping mapping,
ActionForm formInstance,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle the
Exception . |
Modifier and Type | Method and Description |
---|---|
ExceptionConfig |
ActionConfig.findException(java.lang.Class type)
Find and return the
ExceptionConfig instance defining
how Exceptions of the specified type should be handled. |
ExceptionConfig |
ModuleConfig.findExceptionConfig(java.lang.String type)
Return the exception configuration for the specified type, if any;
otherwise return
null . |
ExceptionConfig |
ActionConfig.findExceptionConfig(java.lang.String type)
Return the exception configuration for the specified type, if any;
otherwise return
null . |
ExceptionConfig[] |
ModuleConfig.findExceptionConfigs()
Return the exception configurations for this module.
|
ExceptionConfig[] |
ActionConfig.findExceptionConfigs()
Return the exception configurations for this action.
|
Modifier and Type | Method and Description |
---|---|
void |
ModuleConfig.addExceptionConfig(ExceptionConfig config)
Add a new
ExceptionConfig instance to the set associated
with this module. |
void |
ActionConfig.addExceptionConfig(ExceptionConfig config)
Add a new
ExceptionConfig instance to the set associated
with this action. |
void |
ModuleConfig.removeExceptionConfig(ExceptionConfig config)
Remove the specified exception configuration instance.
|
void |
ActionConfig.removeExceptionConfig(ExceptionConfig config)
Remove the specified exception configuration instance.
|
Modifier and Type | Method and Description |
---|---|
ExceptionConfig |
ModuleConfigImpl.findExceptionConfig(java.lang.String type)
Return the exception configuration for the specified type, if any;
otherwise return
null . |
ExceptionConfig[] |
ModuleConfigImpl.findExceptionConfigs()
Return the exception configurations for this module.
|
Modifier and Type | Method and Description |
---|---|
void |
ModuleConfigImpl.addExceptionConfig(ExceptionConfig config)
Add a new
ExceptionConfig instance to the set associated
with this module. |
void |
ModuleConfigImpl.removeExceptionConfig(ExceptionConfig config)
Remove the specified exception configuration instance.
|
Copyright ? 2000-2014 - The Apache Software Foundation