This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes how to pass name value pairs to struts form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to pass name value pairs to struts form" Watch "how to pass name value pairs to struts form" New topic
Author

how to pass name value pairs to struts form

divya kundapur
Ranch Hand

Joined: Aug 21, 2007
Posts: 110
Hi,

I have a table where user can add new rows and each row has 2 input text fields ( name & value) here the number of rows vary dynamically. I have to now store these values in database, how can i use Map to store these name value pairs from jsp to form bean. Any help is appreciated.



SCJP - 5.0
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9138
    
    9

Do a search for "indexed properties". That's what you are looking for.


[How To Ask Questions On JavaRanch]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to pass name value pairs to struts form
 
It's not a secret anymore!