Create and iterate through an array in Velocity Template Language
According to Apache Velocity User Guide, right hand side of assignments can be of type Variable reference List item String literal Property reference Method reference Number literal ArrayList Map You can create an empty list, which would satisfy all your needs for an array, in an Apache Velocity template with an expression like: #set($foo = … Read more