• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

ActionForm, ArrayList of VLOs , and populating them in the JSP

Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

I am working on an application which will select a set of users from the DB based on a certain condition.

Each user info is stored in a VLO.

I have an ActionForm -

All the employee details from the DB are added into an arraylist and then set to the actionform class.

This actionform class is sent to the jsp.

When I click on a particular checkbox, Only that employee should get be choosen for getting a mail/or whatever. And when I fill in the emailid, the VLO should be populated.

But When I read the form in the action class, I get it as null.

What I am trying to achieve here is a datagrid! I set the values in the table and it shoyld be saved...

Hope I was clear...Any Ideas??
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In order to accomplish this, you will need to use indexed properties. The following two links should give you enough information to get started:



Once you've read these, let us know if you still have questions.
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic