%@ page import="java.io.*, java.util.*"%> <%@ page language="java" contentType="text/html;charset=utf-8"%> <%@ page import="com.eactive.eai.common.EAITable"%> <%@ page import="com.eactive.eai.common.messagekey.*"%> <% MessageKeyManager manager = MessageKeyManager.getInstance(); String[] alls = manager.getAllKeyNames(); String action = request.getParameter("actionType"); String selectedKey = request.getParameter("selectedKey"); if(selectedKey == null && alls.length>1) { selectedKey = alls[0]; } if ("reload".equals(action)){ //I를 "," 로 분리 해야됨 manager.reload(selectedKey.substring(0,selectedKey.length()-1),selectedKey.substring(selectedKey.length()-1) ); }else if ("reloadAll".equals(action)){ manager.reload(); }else { ; } MessageKeyVO vo = null; if(selectedKey != null){ vo = manager.getMessageKey(selectedKey); } String voName = (String)vo.getName(); String adptName = voName.substring(0, voName.length()-1); String exrTp = voName.substring(voName.length()-1); %>
메세지키 관리