• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Help Please?

Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI friends,
how could not give the Subject because my situation is like that.
let me explain my problem.
i have some(the number can vary ) questions in Database and i need to display in page. there is one field question_type which says whether it is a check box or radio button or select box.

Once i displayed to page, the user will give some answer to those questions and submit the form. then i need to same those options in some table as user options.
For this My design is, i have a questionsVO(questionId, QuestionBody, questionType, and list of optionVO's) and optionVO(optionId, optionBody)
The database calling method will collect options of a question and question details into VO and add it to the ArrayList. So After executing it will return a list.

For this my jsp code like this.

How to give the name for form bean so that we can collection user answers for a question in action class.

please any help?
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic