init
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
<%@ page language="java"%>
|
||||
<%@ page contentType="text/html; charset=utf-8"%>
|
||||
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<script type="text/javascript"
|
||||
src="<c:url value="/js/prototype.js"/>"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function changeSessionKey(selectBox) {
|
||||
var hostName = selectBox.options[selectBox.selectedIndex].title;
|
||||
var instanceName = selectBox.value;
|
||||
$('reloadForm').hostName.value = hostName;
|
||||
$('reloadForm').instanceName.value = instanceName;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>
|
||||
Client를 재기동 할 경우 다음의 클라이언트를 선택 하고 RELOAD 버튼을 클릭 하세요.
|
||||
</h1>
|
||||
<form name="reloadForm" id="reloadForm" method="post"
|
||||
action="<%=request.getContextPath()%>/admin/agent/reload/reload.do">
|
||||
|
||||
<select id="sessionKey" name="sessionKey"
|
||||
onchange="changeSessionKey(this)">
|
||||
<option value="">
|
||||
RMS CLIENT를 RELOAD 합니다.
|
||||
</option>
|
||||
<c:forEach items="${sessionKeys}" var="sessionKey">
|
||||
<option title="<c:out value="${sessionKey.keys[0]}" />"
|
||||
value="<c:out value="${sessionKey.keys[1]}" />"
|
||||
<c:if
|
||||
test="${sessionKey.keys[0] == param.hostName && sessionKey.keys[1] == param.instanceName}">
|
||||
selected='selected'
|
||||
</c:if>>
|
||||
<c:out
|
||||
value="HOSTNAME=${sessionKey.keys[0]}, INSTANCENAME : ${sessionKey.keys[1]}" />
|
||||
</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
|
||||
<br />
|
||||
|
||||
호스트명
|
||||
<input type="text" name="hostName" value="${param.hostName }" />
|
||||
인스턴스명
|
||||
<input type="text" name="instanceName"
|
||||
value="${param.instanceName}" />
|
||||
|
||||
<input type="hidden" name="target" value="refresh">
|
||||
<input type="submit" value="RELOAD" />
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user