<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>

결과코드 : ${code}
<br />
메시지 : ${message}  
      
&nbsp;<br />
&nbsp;<br />
<button name="btnGoBack" id="btnGoBack" onclick="fn_goback()" value="돌아가기" title="돌아가기">돌아가기</button>

<form name="gobackForm" id="gobackForm">
</form>

<script>
function fn_goback() {
	<c:if test="${empty goBackUrl}">
	    history.back();
	</c:if>
    <c:if test="${not empty goBackUrl}">
        $("#gobackForm").attr("action", "${goBackUrl}");
        $("#gobackForm").submit();
    </c:if>
}
</script>