• 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

mutiple record validate

Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, i've got a JSP with 5 rows in it, each row represents a person object (so each row has name input textfield and age input field), there is a submit button at the bottom of the screen. the user can fill in any or all of the rows. when i click submit i want struts to validate ALL filled in fields..

Is there a way in struts i can do this (i.e have my form bean take in an array of the n objects). normally my jsp wud be only allow one record to be added at a time - the struts validator could easily be used in this scenario - but my requirement is to have 5 rows on the table.

Any suggestions would be great.thanks..
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic