<%@ page contentType="text/xml; charset=utf-8"%> <%@ page import="com.eactive.eai.adapter.socket2.config.MonitoringUtil"%> <%@ page import="java.util.*,com.eactive.eai.common.util.Logger" %> <%! static Logger logger = Logger.getLogger(Logger.LOGGER_DEFAULT); %> <% // // Socket2 connection info String eaiSvrInstNm = request.getParameter("eaiSvrInstNm"); if (eaiSvrInstNm == null) eaiSvrInstNm = ""; String stateColor = ""; String stateText = ""; String startColor = ""; String startText = ""; String startStop = ""; String[][] arrList = null ; try { arrList = MonitoringUtil.adapterList2(); } catch ( Exception e ) { if (logger.isError()){ logger.error(e.toString()); } } // ¸®ÅÏµÈ arrList °¡ null ÀÌ ¾Æ´Ï¸é¼­ ¹è¿­±æÀ̰¡ 0 ÀÎ °æ¿ì Exception ¹ß»ý // ÇÏÁö ¾Êµµ·Ï Çϱâ À§ÇÔ. (2008-06-30) if( arrList == null || arrList.length == 0 ) { %> <%=eaiSvrInstNm%> <% } else { int col = arrList[0].length ; int row = arrList.length ; for( int i = 0 ; i < row ; i++ ) { out.println(""); out.println("" + eaiSvrInstNm + ""); for( int j = 0 ; j < col ; j++ ) { out.println("" + arrList[i][j] + ""); } out.println(""); } } %>