• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Help Please?

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic