wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
To retrieve new value from text box
get the value of checkbox
Problem in Struts 1 html form rendering and populating ?
use a object in the form
Map key or key in object?