This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 8935
    
    9

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