for(int i=0;i<list.size();i++)
{
System.out.println("items are"+list.get(i));
out.println("<html><select><option>"+list.get(i)+"</option></select></html>");
}
i have few elements in my ArrayList list, and i want to show these elements in a select tag in my jsp. I have done it but the select tag is repeating itself as it is in the loop.I am not able to print the elements in a single select tag. Thanks in advance