Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

getting value of html texts created by iterating

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am creating a html:text in logic:iterate. So there will be multiple text boxes with same property. i am not able to get the value of the text boxes populated in form bean.

How can we get the value of these textboxes in our action class?
How will we handle the property in form bean?
is there anything specific that we have to do in logic:iterate?

Please help me to get out of my issue..
Ranch Hand
Posts: 2908
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your form bean you have to define a property as an array type which you are setting multiple time in your jsp page using html:text ,


If you are setting the 'name' attribute of action form more than once then definition for that goes as



and ActionClass

Hope this helps !
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic