API Overview API Index Package Overview Direct link to this page
Struts 1.3
  org.apache.struts.util. ModuleUtils View Source
Author(s)
Since
Struts 1.2
Version
$Rev: 471754 $
Serial
Hierarchy
 Object
      ModuleUtils
Implements
Subclasses
Description
public class ModuleUtils
  General purpose utility methods related to module processing.
See also:   
Constructors
protected ModuleUtils ()
Constructor for ModuleUtils.
Methods
Hide/Show inherited methods
publicstatic ModuleUtils getInstance ()
Returns the Singleton instance of TagUtils.
public ModuleConfig getModuleConfig (HttpServletRequest request)
  Return the current ModuleConfig object stored in request, if it exists, null otherwise.
public ModuleConfig getModuleConfig (String prefix, HttpServletRequest request, ServletContext context)
  Return the desired ModuleConfig object stored in context, if it exists, otherwise return the current ModuleConfig
public ModuleConfig getModuleConfig (String prefix, ServletContext context)
  Return the desired ModuleConfig object stored in context, if it exists, null otherwise.
public String getModuleName (HttpServletRequest request, ServletContext context)
  Get the module name to which the specified request belong.
public String getModulePrefixes (ServletContext context)
  Return the list of module prefixes that are defined for this web application.
public void selectModule (HttpServletRequest request, ServletContext context)
  Select the module to which the specified request belongs, and add corresponding request attributes to this request.
public void selectModule (String prefix, HttpServletRequest request, ServletContext context)
  Select the module to which the specified request belongs, and add corresponding request attributes to this request.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar