<%@ page import="java.util.Date,java.text.SimpleDateFormat" language="java" contentType="text/html; charset=EUC-KR" pageEncoding="EUC-KR"%> <% Date time = new Date(); SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss"); String textDate = format.format(time); // ¼­¹öÀ̸§ °¡Á®¿À±â String serverName = request.getServerName(); // ¼­¹öÀ̸§ º°·Î ¾ÆÀÌÄÜÀ̸§ ÁöÁ¤Çϱâ String iconName = "·ÎÄÃ"; // ¾ÆÀÌÄÜ À̸§ String iconFileName = "KU2_031.ico"; // ¾ÆÀÌÄÜ À̹ÌÁö À̸§ String linkName = "KU2_local.lnk"; // ¸µÅ© ÆÄÀÏ À̸§ // ¾ÆÀÌÄÜ Ç¥½Ã¿©ºÎ boolean iconShow = true; // º»¿ø¿î¿µ¼­¹ö if ("hisx031.knuh.kr".equals(serverName)) // ¿î¿µ { iconName = "º»¿ø"; iconShow = true; iconFileName = "KU2_031.ico"; linkName = "KU2_031.lnk"; } // º»¿ø±³À°¼­¹ö else if("hisx031edu.knuh.kr".equals(serverName)) //±³À° { iconName = "º»¿ø±³À°"; iconShow = true; iconFileName = "KU2_031.ico"; linkName = "KU2_031_edu.lnk"; } // Ä¥°î¿î¿µ¼­¹ö else if("hisx032.knuh.kr".equals(serverName)) //¿î¿µ { iconName = "Ä¥°î"; iconShow = true; iconFileName = "KU2_032.ico"; linkName = "KU2_032.lnk"; } // Ä¥°î±³À°¼­¹ö else if ("hisx032edu.knuh.kr".equals(serverName)) // ±³À° { iconName = "Ä¥°î±³À°"; iconShow = true; iconFileName = "KU2_032.ico"; linkName = "KU2_032_edu.lnk"; } // MIS¿î¿µ¼­¹ö else if ("misx030.knuh.kr".equals(serverName)) // ¿î¿µ { iconName = "MIS"; iconShow = true; iconFileName = "KU2_030.ico"; linkName = "KU2_030.lnk"; } // MIS±³À°¼­¹ö else if ("misx030edu.knuh.kr".equals(serverName)) // ±³À° { iconName = "MIS±³À°"; iconShow = true; iconFileName = "KU2_030.ico"; linkName = "KU2_030_edu.lnk"; } //out.println("¼­¹öÀ̸§ : " + serverName + "
"); //out.println("¾ÆÀÌÄÜÀ̸§ : " + iconName + "
"); //out.println(textDate); //out.println("ÀÎÄÚµù request.getCharacterEncoding() : " + request.getCharacterEncoding() + "
"); //out.println("¿äû Á¤º¸ ±æÀÌ request.getContentLength() : " + request.getContentLength() + "
"); //out.println("¿äûÇÑ Á¤º¸¸¦ Àü¼ÛÇÒ¶§ »ç¿ëÇÑ ÄÁÅÙÆ® ŸÀÔ request.getContentType() : " + request.getContentType() + "
"); //out.println("À¥ ¾îÇø®ÄÉÀÌ¼Ç ÄÜÅØ½ºÆ® °æ·Î request.getContextPath() : " + request.getContextPath() + "
"); //out.println("Á¤º¸ Àü¼ÛÇÒ¶§ »ç¿ëÇÑ ¹æ½Ä request.getMethod() : " + request.getMethod() + "
"); //out.println("ÇÁ·ÎÅäÄÝ request.getProtocol() : " + request.getProtocol() + "
"); //out.println("IPÁÖ¼Ò request.getRemoteAddr() : " + request.getRemoteAddr() + "
"); //out.println("URL °æ·Î request.getRequestURL() : " + request.getRequestURL() + "
"); //out.println("¼­¹öÀ̸§ request.getServerName() : " + request.getServerName() + "
"); //out.println("Æ÷Æ® request.getServerPort() : " + request.getServerPort() + "
"); %> <% if(iconShow == true) { %> <% } %>