;> (I hardly even use annotations; maybe that's not necessary?)
>>
>> Dave
>>
>>
>>
>>
>> From: "e_sli...@yahoo.it"
>> To: user@struts.apache.org
>> Sent: Monday, April 27, 2
orris Shelton
To: Struts Users Mailing List ; e_sli...@yahoo.it
Sent: Monday, April 27, 2009 4:09:27 PM
Subject: Re: Autowired and PostConstruct with Struts + Spring
I have a question. Why are you using PostConstruct anyway? AFAIK, a new
action is created for each request. This is not going to
To: user@struts.apache.org
Sent: Monday, April 27, 2009 3:29:38 PM
Subject: Re: Autowired and PostConstruct with Struts + Spring
Hi Norris and Dave!
Thank you for your answers.
Yes, I have get/set methods for myService.
If you means declaring:
in my struts.xml for my object factory, yes. I
gt; (I hardly even use annotations; maybe that's not necessary?)
>>
>> Dave
>>
>>
>>
>>
>> From: "e_sli...@yahoo.it"
>> To: user@struts.apache.org
>> Sent: Monday, April 27, 2009 12:41:01 PM
>&g
helton
>
> Is there a public myService setter?
>
> (I hardly even use annotations; maybe that's not necessary?)
>
> Dave
>
>
>
>
> From: "e_sli...@yahoo.it"
> To: user@struts.apache.org
> Sent: Monday
Consulting, LLC
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton
From: "e_sli...@yahoo.it"
To: user@struts.apache.org
Sent: Monday, April 27, 2009 12:41:01 PM
Subject: Autowired and PostConstruct with Struts + Spring
Hello everybody!
I'm t
e_sli...@yahoo.it wrote:
Hello everybody!
I'm trying to use my service into a Struts action but with no success.
My struts action contains :
@Autowired
private MyService myService
@PostConstruct
public void init() {
// use here myService
}
Unfortunately myService is always null and I canno
Hello everybody!
I'm trying to use my service into a Struts action but with no success.
My struts action contains :
@Autowired
private MyService myService
@PostConstruct
public void init() {
// use here myService
}
Unfortunately myService is always null and I cannot use myService in the init
8 matches
Mail list logo