tatiating the bean and only examining the
>> >>> metadata
>> >>>
>> >>> Probably.
>> >>>
>> >>>> more simply skipped and allow for the problem to
>> >>>> surface when the action is actually called (maybe
>>
le distribuer ou de le reproduire.
> - Original Message -
> From: "Marco from Balboa" <[EMAIL PROTECTED]>
> To:
> Sent: Thursday, March 15, 2007 9:28 AM
> Subject: Re: Lazy loading actions in Struts 2
>
>
>>
>> Spring generally requires that the
s qu'il est strictement
> interdit de le diffuser, de le distribuer ou de le reproduire.
> - Original Message -
> From: "Marco from Balboa" <[EMAIL PROTECTED]>
> To:
> Sent: Thursday, March 15, 2007 9:28 AM
> Subject: Re: Lazy loading actions in Struts
- Original Message -
From: "Marco from Balboa" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 15, 2007 9:28 AM
Subject: Re: Lazy loading actions in Struts 2
>
> Spring generally requires that the no-arg constructor be accessible. It ought
> to be unless you explicit
--- Marco from Balboa wrote:
> In my case, I have connections to multiple databases
> and some other very expensive resources that I am
> allowing Spring to create and inject into the action
> objects.
Do you need to define them (the actions) in the
context file? For instance, I am (currently)
ta.
> http://advision.webevents.yahoo.com/mailbeta/features_spam.html
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
&
--- Marco from Balboa <[EMAIL PROTECTED]> wrote:
> I tried following the documentation where they
> instruct to place the name of the Spring bean in
> class attribute for the action definition in the
> struts.xml. I assume this is what you are doing as
> well, correct?
No :( I wasn't doing that,
soaked. Take a quick peek at the forecast
> with the Yahoo! Search weather shortcut.
> http://tools.search.yahoo.com/shortcuts/#loc_weather
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMA
--- Marco from Balboa <[EMAIL PROTECTED]> wrote:
> but I am also encountering that it is happening at
> application startup too.
If I put a debug stmt in an Action ctor I don't see it
on startup, only on a request. I am running under
Tomcat 5.5, also using Spring.
Ah, if I define it by name in a
--
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Lazy-loading-actions-in-
--
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Lazy-loading-actions-in-
--- Marco from Balboa <[EMAIL PROTECTED]> wrote:
> Is there a way to prevent Struts 2 from instatiating
> all the actions defined in the action configuration
> file whe loading the application?
I didn't know it did; I thought they were instantiated
per-request.
d.
__
Hi,
Is there a way to prevent Struts 2 from instatiating all the actions defined
in the action configuration file whe loading the application?
I am using Spring for object factory.
Thanks
Marco
--
View this message in context:
http://www.nabble.com/Lazy-loading-actions-in-Struts-2-tf3404803
13 matches
Mail list logo