15,000 Jobs Available in:
Java, ASP, C#, PHP, SQL, SAP, MySQL and many more.
- Class Quick -
The moose likes Other Application Frameworks and the fly likes [Velocity] HashMap<String, ArrayList<String> Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "[Velocity] HashMap<String, ArrayList<String>" Watch "[Velocity] HashMap<String, ArrayList<String>" New topic
Author

[Velocity] HashMap<String, ArrayList<String>

Christoph Glass
Greenhorn

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
* http://old.nabble.com/Define-Arraylist-td7278200.html
* http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html#directives
but i dont get the trick.

Any help would be appreciated.

Thank you very much and best regards
Christoph
 
 
subject: [Velocity] HashMap<String, ArrayList<String>
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com