RE: Retrieving the ModuleConfig object

2003-09-16 Thread Mainguy, Mike
I'm not sure what you mean by backwork, but it is accessible from the Action Class by overridding the setServlet Method.. E.g. ModuleConfig moduleConfig = (ModuleConfig) servlet.getServletContext().getAttribute( Globals.MODULE_KEY);

RE: Retrieving the ModuleConfig object

2003-09-13 Thread Steve Raeburn
Look at the Javadoc for o.a.s.Globals.MODULE_KEY With it you can get the current module from the request, or append the module prefix (name) to look up any module in the ServletContext. Steve -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: September 13, 2003

RE: Retrieving the ModuleConfig object

2003-09-13 Thread Hue Holleran
I use: mapping.getModuleConfig(); ... but understand this only returns the ModuleConfig info for the current module. Hue. -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: 13 September 2003 10:28 To: Struts-user-list Subject: Retrieving the ModuleConfig