Tim Moores wrote:The out.println statement looks completely messed up. It seems that you're printing a Java statement to the HTML output. I think you're missing some double quotes in there, and you shouldn't repeat the "out.println" part.
Also, you've checked that the ResultSet is not empty, yes?
I have checked the resultset....it is not empty.
I am usingfollowing loop.
while(rs.next())
{
out.println(" <option value="+ rs.getString("NO")+" ></option>");
}