ArrayList final = null;
StdprdDAO DAO = new stdprdDAO();
final = DAO.getPFP();
there is no need of For loop
For(int i = 0; final !=null && i<final.size() ; i++)
{
columnsVO VO = null;
VO = (columnsVO)final.get(i);
String p1 = (String) VO.getProduct();
String p2 = (String) VO.getFamily();
String p3 = (String) VO.getPrice();
Request.setAttribute(“p1”,p1);
Request.setAttribute(“p2”,p2);
Request.setAttribute(“p3”,p3);
} u can set only
ArrayList in the request
request.setAttribute("arr", final);
in the jsp page
<logic:iterate name="arr" id = “columnsVO”>
<bean:write name = “columnsVO” property=”product” >
<bean:write name = “columnsVO” property=”family” >
<bean:write name = “columnsVO” property=”price” >
</logic:iterate>