• 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

There is Anything else which i can use as multibox, in while loop to taking values from Databse.

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,
I am trying to get values from database, in while loop. But i am taking more then one row at a time and Row size id not fixed,(Or you can say of n size row). I want to take and display those values in such a way, that latter i can edit then at run time.
in other words, i want my user will see details of all student in one page. where each row displaying details of one student. thise values i am taking directly from database, like mysql database. here i want my user to see all details of student like name, roll number, address and then grade. And latter if he want he can change his grade directly. The grade of student i am display in select box. whatever will be his grade he can directly see as selected value of select tag. But if user or admin, the person who having authority to change grade can directly select another grade from select box and save it. So that new change grade value will store in database.
Hope i explain the situation properly. if anybody have any idea related to this problem then please replay.
Also i want to mention one thing. i know multibox in jsp, but i dont think so, we should use multibox to store and select values. So there is any other option available like multibox in Struts or jsp. Please reply.
 
Ranch Hand
Posts: 300
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vinod,

you can try html:optionscollection,options or similar controller which act like combo box. As it will also display the grades in box which user can select instead of checking the check box.

Jatan
 
reply
    Bookmark Topic Watch Topic
  • New Topic