map.put("list1",l1); map.put("list2",l2); return map:
Map<String,List<CurrentStock>> data=BMR_Details.Current_stock(CurrentStock); request.setAttribute("data", data);
<logic:iterate name="data" id="current" scope="request"> <bean:define id="CurrentStock" name="current" property="value"/> <logic:iterate name="CurrentStock" id="myString" > <tr> <td><logic:notEmpty name="ing_name" ><bean:write name="myString" property="ing_name"/></logic:notEmpty></td> <td><logic:notEmpty name="myString"><bean:write name="myString" property="quantity"/></logic:notEmpty></td> <td><logic:notEmpty name="myString"><bean:write name="myString" property="std_qty"/></logic:notEmpty></td> <td><logic:notEmpty name="myString"><bean:write name="myString" property="units"/></logic:notEmpty></td>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)