This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes Help Please? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Help Please?" Watch "Help Please?" New topic

Help Please?

Mallik Avula
Ranch Hand

Joined: Nov 30, 2006
Posts: 86
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?

Thanks & Regards<br />Mallik Avula<br />SCJP1.4
I agree. Here's the link:
subject: Help Please?
It's not a secret anymore!