org.apache.struts.config
Class ApplicationConfig
- Serializable, ModuleConfig
public class ApplicationConfig
The collection of static configuration information that describes a
Struts-based application module. Multiple application modules
are identified by a prefix at the beginning of the context
relative portion of the request URI. If no application prefix can be
matched, the default configuration (with a prefix equal to a zero-length
string) is selected, which is elegantly backwards compatible with the
previous Struts behavior that only supported one application.
Version:
- Craig R. McClanahan
- Struts 1.1
actionConfigs , actionMappingClass , configured , controllerConfig , dataSources , exceptions , formBeans , forwards , messageResources , plugIns , prefix |
addActionConfig , addDataSourceConfig , addExceptionConfig , addFormBeanConfig , addForwardConfig , addMessageResourcesConfig , addPlugInConfig , findActionConfig , findActionConfigs , findDataSourceConfig , findDataSourceConfigs , findExceptionConfig , findExceptionConfigs , findFormBeanConfig , findFormBeanConfigs , findForwardConfig , findForwardConfigs , findMessageResourcesConfig , findMessageResourcesConfigs , findPlugInConfigs , freeze , getActionMappingClass , getConfigured , getControllerConfig , getPrefix , removeActionConfig , removeDataSourceConfig , removeExceptionConfig , removeFormBeanConfig , removeForwardConfig , removeMessageResourcesConfig , setActionMappingClass , setControllerConfig , setPrefix |
ApplicationConfig
public ApplicationConfig(String prefix)
Construct an ApplicationConfig object according to the specified
parameter values.
prefix
- Context-relative URI prefix for this module
ApplicationConfig
public ApplicationConfig(ModuleConfigImpl moduleConfig)
Only used while we are deprecating ApplicationConfig to insure maximum compatability.
Only used while we are deprecating ApplicationConfig.
performs a shallow copy to ensure that any operations
performed on an ApplicationConfig object is
performed on the same underlying
ModuleConfigImpl sub objects
moduleConfig
-
Copyright B) 2000-2005 - Apache Software Foundation