File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts with ValueObject in HashMap 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 » Struts
Bookmark "Struts with ValueObject in HashMap" Watch "Struts with ValueObject in HashMap" New topic
Author

Struts with ValueObject in HashMap

Heilel Shachar
Greenhorn

Joined: Jan 10, 2006
Posts: 1
I have an ActionForm with HashMap like this.


My HashMap contain hashCode() of object as key and ValueObject.
--> map.put(String.valueOf(testVO.hashCode()), testVO);



I can display values with JSTL ${map.value.message} but how to map this property in Struts tags.
Example:


regards,

Heilel Shachar
[ January 11, 2006: Message edited by: Heilel Shachar ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts with ValueObject in HashMap