<%
/**
 * <pre>
 * @Class Name : getSampleInfo.jsp
 * 
 * @Description : RESTful API 호출 샘플
 * 
 * 
 * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
 *
 * </pre>
 *
 * @ ------------    --------    ---------------------------
 * @ 수정일                     수정자             수정내용
 * @ ------------    --------    ---------------------------
 * @ 2021. 6. 15.    KNKIM       최초 생성
 *
 * 
 * @author 이씨플라자 * DIGITALSHIP KNKIM
 * @since 2021. 6. 15.
 * @version 1.0
 *
 */
 %>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<c:set var="pageTitle"><spring:message code="nlib.title"/> - 결과</c:set>

<!DOCTYPE html>
<html>
<head>
<title>${pageTitle}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- <link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />"> -->

<script type="text/javaScript" language="javascript">

</script>
</head>

<body>
<!-- javascript warning tag  -->
<noscript class="noScriptTitle"><spring:message code="common.noScriptTitle.msg" /></noscript>
<form:form commandName="reqInfo" 
    action="${pageContext.request.contextPath}/sample/getSampleInfo.do" method="post" 
    onSubmit="fncAuthorInsert(document.forms[0]); return false;"> 
<div class="wTableFrm">
    <!-- 타이틀 -->
    <h2>${pageTitle}</h2>
    
    <div style="clear:both;">Server Protocol : ${serverProtocol}</div>
    <div style="clear:both;">Server IP : ${serverIp}</div>
    <div style="clear:both;">Server PORT : ${serverPort}</div>
    
    <br />&nbsp;
    <br />&nbsp;
    <br />
        
    page : <input name="page" id="page" value="1" /> <br />
    rows : <input name="rows" id="rows" value="10" /> <br />
    
    <br />
    resultCode : <input name="resultCode" id="resultCode" value="${result.resultCode}" /> <br />
    resultMessage : <input name="resultCode" id="resultCode" value="${result.resultMessage}" /> <br />
    info.name : <input name="info.name" id="info.name" value="${result.info.name}" /> <br />
    <br />

    <div style="clear:both;"></div>
    
</div>
</form:form>    

</body>
</html>
