var manuFacturerArray = new Array();
<logic:iterate name="manuFacturerList" id="manuFacturerList" type="com.kaiwang.safetytool.mappings.ManuFacturer" scope="request" indexId="i">
manuFacturerArray[<%=i.intValue() + 1%>] = new DBArray("<bean:write name="manuFacturerList" property="id"/>", "<bean:write name="manuFacturerList" property="name"/>");
</logic:iterate>
function DBArray(id , name){
this.id=id;
this.name=name;
}