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

how to do a survey app ???

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How are you doing everybody,
I have a table in a database that has :
ID ,
Title,
Priority ( 1 or 2, or 3, or 4, or 5)

I want to have a survey with a form that is populated from that table :
it will show :
ID label - Title label - and 5 radio buttons
the user chose and check one radio button of each line and the at the end submit back to the database.

Please can you help on how to do it or do you have a survey example.

thanks, your help is appreciated.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. You need to create a form containg id , title,priority , priorities[]. Store the available priorities in the String Priorities array from the Database
2. In the JSP using struts iterate on priorities create radio button having name priority.
3. When user populate the information and click on submit you can get the information in action by using form bean.
 
reply
    Bookmark Topic Watch Topic
  • New Topic