Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP Load checkbox

Status
Not open for further replies.

Learnerprog

Programmer
Apr 21, 2004
52
US
Hello all.
I am trying to dynamically load check box based on records number return from database. Example if I have 100 records then I will load 100 checkbox, 200 records then load 200 checkbox. please help.. Thanks a lot.
 
loop through your result set and output the values to checkboxes.
Code:
<%
while (resultset.next()) 
{
out.print.ln ("<input type='textbox' value='" + resultset.value + "'>")

}
%>

Its been a few years since i worked in JSP, my syntax may need work

I don't know the answer but my good friend Google does.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top