Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
How do you display a drop down box with a resultset in a loop? I just get a sql exception with my current servlet code. any help appreciated Thanks [CODE] out.println("Select Reading List"); out.println("<select name=" + rs1.getString("degree")+ ">"); while(rs1.next()){ out.println("<option value=" + rs1.getString("idcol") + ">" + rs1.getString("degree") + "</option>"); } … |