This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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: 8263

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to pass name value pairs to struts form
 
Similar Threads
value part in properties fils in two lines
Setting Cookie
Deleting items using checkbox values
Key-Value pair functionality
How to use Hashtable in iterate tag of Struts JSP