This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Spring and the fly likes injecting property through spring applicationContext.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "injecting property through spring applicationContext.xml" Watch "injecting property through spring applicationContext.xml" New topic
Author

injecting property through spring applicationContext.xml

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

can we inject null list collection object while injecting property through applicationContext.xml bean id definition within propery attribute. Any ideas, suggestions, sample code, resources, links highly appreciated. thanks in advance
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,
You can use the <null /> tag, which should do as you want.

Sean


I love this place!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: injecting property through spring applicationContext.xml