@SuppressWarnings("unchecked")
public void eqTopDelete(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws Exception {
Oreda _Oreda = new Oreda();
OredaEqDB _OredaEqDB = (OredaEqDB)form;
int eqUid = 0;
eqUid = _OredaEqDB.getTopsideEqipmentUid2();
sqlMap.delete("Oreda.topEqDelete", eqUid);
eqUid = _OredaEqDB.getTopsideEqipmentUid1();
sqlMap.delete("Oreda.topEqDelete", eqUid);
sqlMap.delete("Oreda.topEqNodeDelete", eqUid);
sqlMap.update("Oreda.topEqoredernoUpdateMinus", _OredaEqDB);
_Oreda.setCategoryUid(_OredaEqDB.getCategorytableUid());
ArrayList<Oreda> oredaListInfo = (ArrayList<Oreda>) sqlMap.queryForList("Oreda.tableList", _Oreda);
String returnUrl = "location.href = 'oreda-info.do?method=infoList&categoryUid="+_OredaEqDB.getCategorytableUid()+"&step0="+oredaListInfo.get(0).getStep0()+"';";
PrintWriter out = response.getWriter();
out.println("<script language='javascript'>");
out.println(returnUrl);
out.println("</script>");