• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

getParameterValues []

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if you have five columns in an html table with text fields named col1, col2, col3, col4, and col5, and 3 rows in a table and all the values get submitted to a servlet or jsp, when you retrieve the form values using geParameterValues("col1"), getParameterValues("col2") and so forth, is there any guarantee that string arrays returned by the above method store all the fields in a row in the same array index?
So if I want the values from the text fields in row1, I can be guaranteed that they are col1[0], col2[0], col3[0], col4[0] and col5[0] and NOT col1[0], col2[2], col3[1] etc...
Hope that makes sense
Thanks
Brian
 
Honk if you love justice! And honk twice for tiny ads!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic