Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

How to select radio button and check boxes

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

How to select radio button and check boxes, while retrieving the question with options from the mysql database. using S2+hibernate+mysql.
If i am having multiple answers check box type to be selected, and if its single answers need to select radio button type. i need to select based on question type(single or multiple options)





Thanks In Advance
Mahantesh


 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why would you post user authentication classes when you are asking a question about radio buttons? It's a good idea to isolate the problem so that us volunteers don't have to plow through 400 lines of code (and I don't see any JSPs!) to figure out what you are trying to do.
My advice would be to write a simple action and JSP to display and save a single hard-coded question with radio buttons. Once that's working, add one feature at a time: perhaps a dynamic question first, then checkboxes, then reading out of the DB and so on. Trying to do it all at once will be frustrating for you and we can't help because we don't have time to unravel your program.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic