mes to mind is to just make all of
> these classes explicit singletons, and let Actions get them via
> getInstance() calls, but that's a fair amount of rework.
>
> - Matt
>
> -Original Message-
> From: Gabriel Belingueres [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 0
all of
these classes explicit singletons, and let Actions get them via
getInstance() calls, but that's a fair amount of rework.
- Matt
-Original Message-
From: Gabriel Belingueres [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 7:56 PM
To: Struts Users Mailing List
Subject: Re:
2008/7/8 Kleiderman, Matthew <[EMAIL PROTECTED]>:
> Is there any way to inject beans defined in struts.xml with
> scope=singleton into a Servlet so that it's available when the Servlet's
> init method is called?
Did you really meant injecting a bean defined inside Spring's
applicationContext.xml f
Is there any way to inject beans defined in struts.xml with
scope=singleton into a Servlet so that it's available when the Servlet's
init method is called? Alternately, is there a way to access where
these instances are stored so I can get a reference to the instance?
Thanks,
Matt Kleiderman
--
4 matches
Mail list logo