Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Vinod suryawanshi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • 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.
 
jatan bhavsar
Ranch Hand
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vinod,

you can try htmlptionscollection,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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic