서블릿 JSP페이지내 including 처리를 위한 템플릿 추가

This commit is contained in:
KNKIM 2021-10-28 13:53:00 +09:00
parent b86bbfe97c
commit 7354992b66
5 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,35 @@
2021-10-25 오전 08:07 21,638 cart-complete.html 대출/열람 신청 완료
2021-10-25 오전 08:07 21,952 cart-confirm.html 대출/열람 신청 확인
2021-10-25 오전 08:07 31,574 cart.html 카트
2021-10-25 오전 08:07 36,245 connect.html 계정연결
2021-10-25 오전 08:07 38,172 data-detail.html 소장자료 상세조회
2021-10-25 오전 08:07 43,189 data-noresults.html 소장자료관
2021-10-25 오전 08:07 48,943 data.html 소장자료관
2021-10-25 오전 08:07 36,249 dormant.html 휴면상태안내 및 해제
2021-10-25 오전 08:07 15,686 faq.html FAQ
2021-10-25 오전 08:07 10,011 greeting.html 인사말
2021-10-25 오전 08:07 16,513 guide.html 이용안내
2021-10-25 오전 08:07 73,917 index.html 메인홈
2021-10-25 오전 08:07 17,193 Interested-data.html 관심자료
2021-10-25 오전 08:07 42,470 join-1.html 회원가입 - 약관동의
2021-10-25 오전 08:07 45,823 join-2.html 회원가입 - 정보입력
2021-10-25 오전 08:07 36,457 join-3.html 회원가입 - 가입완료안내
2021-10-25 오전 08:07 36,834 join.html 회원가입 - SNS 선택
2021-10-25 오전 08:07 14,639 loan.html 대출관리
2021-10-25 오전 08:07 39,715 location.html 찾아오시는길
2021-10-25 오전 08:07 18,561 myinfo-modify.html 회원정보수정
2021-10-25 오전 08:07 8,550 myinfo-passwd.html 회원비번 변경
2021-10-25 오전 08:07 42,958 myinfo.html
2021-10-25 오전 08:07 10,915 notice-view.html
2021-10-25 오전 08:07 13,878 notice.html
2021-10-25 오전 08:07 10,378 Notifications.html 알림
2021-10-25 오전 08:07 12,252 qna-view.html
2021-10-25 오전 08:07 12,118 qna-write.html
2021-10-25 오전 08:07 14,978 qna.html
2021-10-25 오전 08:07 36,587 secession.html 회원탈퇴
2021-10-25 오전 08:07 15,568 visit.html 방문열람관리

View File

@ -0,0 +1,82 @@
<%@ 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"%>
<%
String councilCd = (String)session.getAttribute("councilCd");
String councilNm = (String)session.getAttribute("councilNm");
%>
<script>
$(document).ready(function() {
$("#imgLogo").attr("src", "/images/logo/img-logo-${councilCd }.png");
$("#imgLogo").on("error", function() {
$("<span id='siteCouncilNm' name='siteCouncilNm'>${councilNm}</span>").insertBefore($("#siteCommonTitle"));
$("#siteCouncilNm").attr("style", "border-left:0px !important");
$(this).remove();
});
});
</script>
<h2 class="blind">헤더영역</h2>
<div class="inner">
<h1><a href="javascript:void(0)" onclick="javascript:location.href='/';"><img namme="imgLogo" id="imgLogo" src=""><span name="siteCommonTitle" id="siteCommonTitle">소장자료관</span></a></h1>
<div class="search-wrap">
<h2 class="blind">검색</h2>
<form id="searchHeaderForm" name="searchHeaderForm" method="post" action="">
<fieldset>
<legend>검색</legend>
<div class="search-input">
<input type="text" placeholder="" title="검색어 입력" name="query" id="query" class="ark_query" value="" autocomplete="off">
<button type="button" class="btn-search" id="searchHeaderButton"><span>검색</span></button>
<!-- <button type="button" class="btn-search-detail" id="btn-search-detail-cl" onclick="javascript:fn_layerPop('${pageContext.request.contextPath}/search/getDetailedSearchFormPopup.do');">상세검색</button> -->
<button type="button" class="btn-search-detail" id="btn-search-detail-cl">상세검색</button>
</div>
<div class="condition_sear">
<select name="searchField" id="searchField1" class="sear_depth">
<option value="" selected="selected">전체</option>
<option value="TITLE">제목</option>
</select>
</div>
</fieldset>
</form>
</div>
<div class="log">
<ul>
<sec:authorize access="not isAuthenticated()">
<li><!-- 개발자 확인용 타이틀 임시 추가 DDDDDDDDDDD -->
<a href="javascript:void(0)" onclick='fn_layerPopWithClass("/login/loginFormPopup.do", "pop-login")' title="${councilNm}(${councilCd})" class="login-btn">로그인</a></li>
</sec:authorize>
<sec:authorize access="isAuthenticated()">
<sec:authentication property="principal.name" var="userName" />
<sec:authentication property="principal.loginUserId" var="userId" />
<li><!-- 개발자 확인용 타이틀 임시 추가 DDDDDDDDDDD -->
<a href="javascript:void(0)" onclick="javascript:location.href='${pageContext.request.contextPath}/logout';"
title="${userId} - ${councilNm} (${councilCd})" class="login-btn">
${userName}님 로그아웃</a>
</li>
</sec:authorize>
<li><a href="javascript:void(0)" class="member-btn">회원증</a></li>
<sec:authorize access="isAuthenticated()">
<li><a href="javascript:void(0)" onclick="javascript:location.href='${pageContext.request.contextPath}/cmm/listNotifications.do';" class="noti-btn">알림(<span class="count">${unreadNotiCnt }</span>)</a></li>
</sec:authorize>
<li><a href="javascript:void(0)" onclick="javascript:location.href='${pageContext.request.contextPath}/cart/listCartItems.do';">카트(<span class="count">${cartCnt }</span>)</a></li>
</ul>
</div>
</div>
<script>
</script>

View File

@ -0,0 +1,5 @@
<%@ 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"%>

View File

@ -0,0 +1,6 @@
<%@ 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"%>

View File

@ -0,0 +1,9 @@
<%@ 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="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<tiles:insertAttribute name="main" />