This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes [Velocity] HashMap<String, ArrayList<String> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "[Velocity] HashMap<String, ArrayList<String>" Watch "[Velocity] HashMap<String, ArrayList<String>" New topic

[Velocity] HashMap<String, ArrayList<String>

Christoph Glass

Joined: Mar 18, 2010
Posts: 1
Hello everyone,

in java it is possible to create a HashMap<String, ArrayList<String> like this (pseudo code, not tested):

Is it possible to do the same in a velocity template?

I found some sites regarding to this
but i dont get the trick.

Any help would be appreciated.

Thank you very much and best regards
Don't get me started about those stupid light bulbs.
subject: [Velocity] HashMap<String, ArrayList<String>
Similar Threads
Accessing a beanList Returned from JSP
struts 2 pushing bean with indexed properties problem
Using Generics, HashMap with two different objects as Keys
validate a bean property in struts 2 using Xwork framework
hashtable of arraylists