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 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 Murach's Java Servlets and JSP this week in the Servlets 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Struts with ValueObject in HashMap
 
Similar Threads
To retrieve new value from text box
Problem in Struts 1 html form rendering and populating ?
use a object in the form
Map key or key in object?
get the value of checkbox