@SuppressWarnings("unchecked")
public ActionForward infoList(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws Exception {
Oreda _Oreda = (Oreda)form;
OredaEqipment _OredaEqipment = new OredaEqipment();
ArrayList<Oreda> oredaListInfo = (ArrayList<Oreda>) sqlMap.queryForList("Oreda.listInfo", _Oreda);
String taxono = "";
String title_item = "";
if (oredaListInfo.size()>0) {
title_item = oredaListInfo.get(0).getTop_item().replace("||", " ");
StringTokenizer strT = new StringTokenizer(oredaListInfo.get(0).getTop_taxonomyno() , "||");
int cnt = strT.countTokens();
while(strT.hasMoreTokens()){
String tempStr = strT.nextToken();
if(!tempStr.equals("") && !tempStr.equals(null)){
//taxono += (String) sqlMap.queryForObject("Oreda.getUid", Integer.parseInt(tempStr));
taxono += tempStr+".";
}
}
String Top_item = oredaListInfo.get(0).getTop_item().replace("||", "<br>");
oredaListInfo.get(0).setTop_item(Top_item);
}
String result = "";
ArrayList<OredaEqipment> oredaListEqipment = new ArrayList<OredaEqipment>();
if (oredaListInfo.size()>0) {
int cate_uid = oredaListInfo.get(0).getTop_category();
if (_Oreda.getStep0().equals("TopSide")) {
result = "listInfoTop";
oredaListEqipment = (ArrayList<OredaEqipment>)sqlMap.queryForList("Oreda.listTOPEqipment", cate_uid);
} else if (_Oreda.getStep0().equals("SubSea")) {
_OredaEqipment.setCategorytableUid(cate_uid);
result = "listInfoSub";
oredaListEqipment = (ArrayList<OredaEqipment>)sqlMap.queryForList("Oreda.listSUBEqipment", _OredaEqipment);
}
} else {