com.basecmp.core.servlets
Class BCStrutsActionServlet

java.lang.Object
  extended byActionServlet
      extended bycom.basecmp.core.servlets.BCStrutsActionServlet

public class BCStrutsActionServlet
extends ActionServlet

Servlet extends the original Struts-ActionServlet and adds the ability to read a full folder of configfiles using the usual web.xml servlet-config-params. This is done basically by overwriting 'initModuleConfig', using the original code beside one addition, which calls the additional new method 'parseModuleConfigDirectory'.

See Also:
Serialized Form

Constructor Summary
BCStrutsActionServlet()
           
 
Method Summary
protected  ModuleConfig initModuleConfig(java.lang.String prefix, java.lang.String paths)
           
protected  void parseModuleConfigDirectory(Digester digester, java.lang.String path, ModuleConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCStrutsActionServlet

public BCStrutsActionServlet()
Method Detail

initModuleConfig

protected ModuleConfig initModuleConfig(java.lang.String prefix,
                                        java.lang.String paths)
                                 throws ServletException
Throws:
ServletException

parseModuleConfigDirectory

protected void parseModuleConfigDirectory(Digester digester,
                                          java.lang.String path,
                                          ModuleConfig config)
                                   throws UnavailableException
Throws:
UnavailableException


Copyright © 2004 by basecmp® - Professional Web Solutions