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 web form to hashmap using struts. 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 "web form to hashmap using struts." Watch "web form to hashmap using struts." New topic
Author

web form to hashmap using struts.

dave sag
Ranch Hand

Joined: Feb 17, 2003
Posts: 47
I am building a page designed to edit the string based keys and values of a hashmap. in my form bean I have converted the hashmap to a collection of LabelValueBeans and wish to allow people to add further label:value pairs to the (reasonably short) list by just filling in a set of blank fields at the bottom. is the best way to do this simply to populate the collection with 3 or 4 rows of "","" data? and filter in my action. or is there a more recommended way to approach this.


JSF / Jini / Javaspaces / JDO - all rock in my opinion.
 
Consider Paul's rocket mass heater.
 
subject: web form to hashmap using struts.
 
Similar Threads
HashMap from a Collection
ArrayList in <HTML:SELECT> tag
accessing a Collection through a jsp-bean
instanceof question
Convert Collection To A HashMap