From 94bd69773f1b967fd6bb55ca8dfca25aa305f17b Mon Sep 17 00:00:00 2001 From: tolag3 Date: Thu, 26 Oct 2023 10:47:55 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EC=A4=80=ED=98=B8=20=EC=A0=84?= =?UTF-8?q?=EC=9E=90=EC=A1=B0=EC=A0=95=EC=8B=9C=EC=8A=A4=ED=85=9C=20?= =?UTF-8?q?=EC=BB=A4=EB=B0=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 홈페이지 속도 개선 작업 중 --- .../java/kcc/com/cmm/util/StringUtil2.java | 3 + src/main/java/kcc/web/MainController.java | 7 + .../webapp/WEB-INF/jsp/web/com/webLayout.jsp | 15 +- .../jsp/web/main/mainPage - 복사본.jsp | 681 ------------------ .../webapp/WEB-INF/jsp/web/main/mainPage.jsp | 3 +- .../WEB-INF/jsp/web/main/mainPage_back.jsp | 611 +++++++++------- src/main/webapp/kccadrPb/usr/script/main.js | 38 +- 7 files changed, 391 insertions(+), 967 deletions(-) delete mode 100644 src/main/webapp/WEB-INF/jsp/web/main/mainPage - 복사본.jsp diff --git a/src/main/java/kcc/com/cmm/util/StringUtil2.java b/src/main/java/kcc/com/cmm/util/StringUtil2.java index b5a0e1fb..5815526f 100644 --- a/src/main/java/kcc/com/cmm/util/StringUtil2.java +++ b/src/main/java/kcc/com/cmm/util/StringUtil2.java @@ -581,6 +581,9 @@ public final class StringUtil2 { public static String extractLogMethodNm( String p_url ) throws Exception{ + if(p_url.contains(";JSESSIONID")) { + p_url = p_url.substring(0, p_url.indexOf(";JSESSIONID")); + } String[] s_arr = p_url.split("/"); if (s_arr.length>=3) { diff --git a/src/main/java/kcc/web/MainController.java b/src/main/java/kcc/web/MainController.java index 3eaeb94b..52278e53 100644 --- a/src/main/java/kcc/web/MainController.java +++ b/src/main/java/kcc/web/MainController.java @@ -1940,6 +1940,13 @@ public class MainController { return modelAndView; } + @RequestMapping(value="/web/kccadr/kccadrCom/kccadrConstantsJsp.do") + public String kccadrConstantsJsp() + throws Exception { + + return "web/kccadr/kccadrCom/kccadrConstantsJsp"; + } + // 파일을 로컬로 부터 읽어와서 BodyPart 클래스로 만든다. (바운더리 변환) private BodyPart getFileAttachment(String realFile, String filename) throws MessagingException { // BodyPart 생성 diff --git a/src/main/webapp/WEB-INF/jsp/web/com/webLayout.jsp b/src/main/webapp/WEB-INF/jsp/web/com/webLayout.jsp index 784f1baa..2d8948b2 100644 --- a/src/main/webapp/WEB-INF/jsp/web/com/webLayout.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/com/webLayout.jsp @@ -51,8 +51,7 @@ content="default-src * self blob: data: gap:; style-src * self 'unsafe-inline' b - - + <%-- --%> @@ -92,14 +91,22 @@ $(document).ready(function (){ document.title = titleNm + "<" + document.title; } } -// $("head").prepend(""+titleNm + "<" + document.title+"") }); -<%@ include file="/WEB-INF/jsp/web/kccadr/kccadrCom/kccadrConstantsJsp.jsp" %> + + + + + + diff --git a/src/main/webapp/WEB-INF/jsp/web/main/mainPage - 복사본.jsp b/src/main/webapp/WEB-INF/jsp/web/main/mainPage - 복사본.jsp deleted file mode 100644 index 52667132..00000000 --- a/src/main/webapp/WEB-INF/jsp/web/main/mainPage - 복사본.jsp +++ /dev/null @@ -1,681 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> - - - -한국공예·디자인문화진흥원 - - - - - - - - - - - - - - - - - - -
- - -
- - ${result.mazNm}?atchFileId=' - - onclick="window.open('${result.mlink}', '_blank');" - - /> - -
- - - - -
-
-
-
공지
- -
-
    - -
  • - - - - ${result.frstRegisterPnttm}
  • -
    -
-
-
-
-
사업
- -
-
    - -
  • - - - - ${result.frstRegisterPnttm}
  • -
    -
-
-
-
-
입찰
- -
-
    - -
  • - - - - ${result.frstRegisterPnttm}
  • -
    -
-
-
- -
-
채용
- -
-
    - -
  • - - - - ${result.frstRegisterPnttm}
  • -
    -
-
-
-
-
- -
-
    -
  • 공지
  • -
  • 입찰
  • -
  • 사업
  • -
  • 채용
  • -
- - -
-
- -
-
    - -
  • - - - - ${result.frstRegisterPnttm}
  • -
    -
-
-
-
- - -
-
- -
-
    - -
  • - - - - ${result.frstRegisterPnttm}
  • -
    -
-
-
-
- - -
-
- -
-
    - -
  • - - - - ${result.frstRegisterPnttm}
  • -
    -
-
-
- - -
- - -
-
- -
-
    - -
  • - - - - ${result.frstRegisterPnttm}
  • -
    -
-
-
-
-
- - -
-
아이콘 한국공예디자인문화진흥원 소식
-
-
    - -
  • -
    ); cursor:pointer;" - - onclick="javascript:location.href='${result.mlink}';" - - - onclick="window.open('${result.mlink}', '_blank');" - - > -
    -
  • -
    -
-
- - -
- -
-
- -
-
아이콘 KCDF 갤러리 안내
-
-
    -
  • KCDF 갤러리 소개
  • -
  • KCDF 갤러리 대관신청
  • -
  • KCDF 도서관 바로가기
  • -
  • KCDF 온라인샵 바로가기
  • -
-
-
- - -
-
아이콘 KCDF 갤러리 전시
-
-
    - -
  • -
    );" - - onclick="javascript:location.href='${result.mlink}';" - - - onclick="window.open('${result.mlink}', '_blank');" - - > -
    -
  • -
    -
-
- - -
- -
- -
-
아이콘 한국공예디자인문화진흥원 블로그
-
    - -
  • ') no-repeat center #f3f3f3; background-size:cover;cursor:pointer;" - - onclick="javascript:location.href='${result.mlink}';" - - - onclick="window.open('${result.mlink}', '_blank');" - - > -
    ${result.pozNm}
  • -
    -
-
- - - -
-
') no-repeat center; background-size:contain;">
- -
-
우수문화상품지정제
-
- 우수문화상품 지정제도는 - 한국의 문화적 가치를 담은 우수문화상품을 - 지정하여 한복의 옷고름 모양을 딴 - K-ribbon 마크를 부착하고, 체계적인 - 관리와 브랜드마케팅을 통해 - ‘코리아프리미엄’을 창출하고자 하는 - 제도 입니다. -

2015년 11월 부터 시행되었으며, - 문화콘텐츠, 한복, 공예품, 한식·식품 등 - 한국을 대표할 수 있는 문화상품들을 - 대상으로 합니다.

-
-
-
- -
- - -
-
') no-repeat center; background-size:contain">
- -
- 「공예+디자인」은
- 한국공예디자인문화진흥원이
- 격월로 발행하는 공예·디자인
- 전문간행물입니다. -
-
공예 + 디자인 격월발행
-
-
-
-
-
- - - -
- -
- - -
- -
- - - -
- - - - - - - -
-
-
- - ${popupListData.nttCn} -
- Close -
- 하루동안 창을 열지 않음 -
- -
-
-
-
-
-
- - - diff --git a/src/main/webapp/WEB-INF/jsp/web/main/mainPage.jsp b/src/main/webapp/WEB-INF/jsp/web/main/mainPage.jsp index 2c989798..5a74ce03 100644 --- a/src/main/webapp/WEB-INF/jsp/web/main/mainPage.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/main/mainPage.jsp @@ -13,7 +13,6 @@ - @@ -26,7 +25,7 @@ .today_close label{position: relative;} - + - - - + + + + + + + + + + + + + - - -
- - -
- - - -
-
- -
- - ${result.mazNm}?atchFileId=' - - onclick="window.open('${result.mlink}', '_blank');" - - /> - - - - ${result.mazNm}?atchFileId=' - - onclick="window.open('${result.mlink}', '_blank');" - - /> - - -
-
-
- - - - - - - - -
- 회사연혁 -
- -
- 회사연혁 -
- -
- 회사연혁 -
- - - -
- - - - - -
+
- - ${popupListData.nttCn} + + + + ${popupListData.nttCn} + + + + + ${popupListData.nttCn} + + +
- Close -
- 하루동안 창을 열지 않음 +
+ + + + +
+
- - - - - - + + + + + + + + + + <%-- --%> + + + + +
+ +
+
+
    + +
  • '); background-repeat: no-repeat; background-position: center;">
  • +
    +
+
+ + + + +
+
+
+
+

분쟁을 신속하고 공정하게 해결해주는

+ 저작권 전자조정시스템 +
+
+
+ + + + + + +
+
+ +
+
+

조정신청 안내

+
+
+ +
+ +
+
조정신청 문의
+
02-2669-0043, 0044
+
저작권 법률상담
+
1800-5455
+
이용시간
+
월~금(평일) 09:00~17:00
+
+
+
+
+ + + + + + + + +
+
+

알림판

+
+ + + +
+
+
+
1}">swiper-container pz_wrap"> + +
+
+
+ +
+
+
+ +
+ + +
+ \ No newline at end of file diff --git a/src/main/webapp/kccadrPb/usr/script/main.js b/src/main/webapp/kccadrPb/usr/script/main.js index a3db0699..a4dfd037 100644 --- a/src/main/webapp/kccadrPb/usr/script/main.js +++ b/src/main/webapp/kccadrPb/usr/script/main.js @@ -88,25 +88,25 @@ $(document).ready(function () { }); }); -function main_visual() { - const main_slide = new Swiper('.swiper-container.visual_wrap', { - direction: 'horizontal', - effect: "fade", - speed: 2000, - autoplay: { - delay: 5000, - }, - loop: true, - pagination: { - el: '.visual_nav', - }, - navigation: { - nextEl: '.visual_next', - prevEl: '.visual_prev', - }, - autoHeight: true - }); -} +//function main_visual() { +// const main_slide = new Swiper('.swiper-container.visual_wrap', { +// direction: 'horizontal', +// effect: "fade", +// speed: 2000, +// autoplay: { +// delay: 5000, +// }, +// loop: true, +// pagination: { +// el: '.visual_nav', +// }, +// navigation: { +// nextEl: '.visual_next', +// prevEl: '.visual_prev', +// }, +// autoHeight: true +// }); +//} function sch_slide() { sch_slide = new Swiper('.swiper-container.sch_wrap', {