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);
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
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
3 matches
Mail list logo