servlet code :
List<Uscensuspopulationdata> ls = query.list();
request.getSession().setAttribute("out", ls);
response.sendRedirect("fulldata.jsp");
JSP code: //out has represents the entire list. so out[0].name works. //but i dont know how to iterate to display all the records
${out[0].name}
I want to display something like this: ${out[i].name} inside a loop so that i can get all the names from the list