Skip to content

Latest commit

 

History

History

ArrayInjection1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Array Injection in spring

Summary

  • We can use <array> tag to define arrays inside bean.
  • To provide values to array inside xml, we use <value> tag
  • We can provide as many values we want inside array.

Syntax

  • Use <array> to declare and define arrays.
  • Use <value> to provide value for each bean.