You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Mainguy, Mike" <MM...@kmart.com> on 2003/09/16 13:54:02 UTC

RE: Retrieving the ModuleConfig object

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);
		

-----Original Message-----
From: Marco Tedone [mailto:mtedone@jemos.org] 
Sent: Saturday, September 13, 2003 5:28 AM
To: Struts-user-list
Subject: Retrieving the ModuleConfig object


Hi, is it possible to retrieve a ModuleConfig object (with the module
configuration information) directly from within an Action without any
backwork?

Marco




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


This message and its contents (to include attachments) are the property of Kmart Corporation (Kmart) and may contain confidential and proprietary information. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately.




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org