From 28293bb58b05cbbd7512f49db196f4cf5284cc92 Mon Sep 17 00:00:00 2001 From: jungwonKim Date: Wed, 5 Oct 2022 15:36:17 +0900 Subject: [PATCH] =?UTF-8?q?=ED=91=9C=EC=A4=80=EC=B6=9C=EB=A0=A5=20?= =?UTF-8?q?=EC=8C=93=EA=B2=8C=EB=81=94=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 + src/main/webapp/WEB-INF/web.xml | 1 - src/main/webapp/jsp/common/menu.jsp | 2 +- src/main/webapp/jsp/normal.jsp | 18 +++++++++++++++++- src/main/webapp/jsp/readme.jsp | 2 +- src/main/webapp/jsp/session-info.jsp | 5 +++++ src/main/webapp/pages/default.jsp | 9 +++++++++ 7 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 src/main/webapp/pages/default.jsp diff --git a/pom.xml b/pom.xml index c6398a6..262dd80 100644 --- a/pom.xml +++ b/pom.xml @@ -6,6 +6,7 @@ acc-webapp-mvn 0.0.1-SNAPSHOT acc-webapp-mvn + war Maven Accordion Webapp Test UTF-8 diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 99f7745..11d8e22 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -9,5 +9,4 @@ default.htm default.jsp - \ No newline at end of file diff --git a/src/main/webapp/jsp/common/menu.jsp b/src/main/webapp/jsp/common/menu.jsp index 65902cb..15c4586 100644 --- a/src/main/webapp/jsp/common/menu.jsp +++ b/src/main/webapp/jsp/common/menu.jsp @@ -4,7 +4,7 @@ <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    -
  • 기본페이지 호출
  • +
  • 기본페이지 호출(표준출력테스트)
  • F01 : 클라이언트 분리 호출(이미지/JSP)
    • diff --git a/src/main/webapp/jsp/normal.jsp b/src/main/webapp/jsp/normal.jsp index d6aa434..b37a927 100644 --- a/src/main/webapp/jsp/normal.jsp +++ b/src/main/webapp/jsp/normal.jsp @@ -9,8 +9,24 @@ -

      APM BMT !!

      +

      샘플 페이지 기본출력) !!

      +<% + +System.out.println("========================="); +System.out.println("= ="); +System.out.println("= ="); +System.out.println("= ="); +System.out.println("= ="); +System.out.println("= 표준출력 ="); +System.out.println("= ="); +System.out.println("= ="); +System.out.println("= ="); +System.out.println("= ="); +System.out.println("========================="); + + +%> \ No newline at end of file diff --git a/src/main/webapp/jsp/readme.jsp b/src/main/webapp/jsp/readme.jsp index 2791a38..16ae24e 100644 --- a/src/main/webapp/jsp/readme.jsp +++ b/src/main/webapp/jsp/readme.jsp @@ -6,7 +6,7 @@ APM BMT 테스트 1) 기본 페이지
      - http://IP/NIA-APM-BMT/jsp/common/normal.jsp
      + http://IP/jsp/common/normal.jsp
      diff --git a/src/main/webapp/jsp/session-info.jsp b/src/main/webapp/jsp/session-info.jsp index b420153..8b14724 100644 --- a/src/main/webapp/jsp/session-info.jsp +++ b/src/main/webapp/jsp/session-info.jsp @@ -3,6 +3,7 @@ <%@page import="java.util.*" %> <%@page import="java.text.*" %> +<%@page import="java.net.InetAddress" %> @@ -34,6 +35,7 @@ sess.setAttribute("SessionAttr2", rand_MS+""); java.util.Enumeration e = sess.getAttributeNames(); +String hostname = InetAddress.getLocalHost().getHostName(); %> @@ -52,6 +54,9 @@ java.util.Enumeration e = sess.getAttributeNames(); + + + diff --git a/src/main/webapp/pages/default.jsp b/src/main/webapp/pages/default.jsp new file mode 100644 index 0000000..41f7781 --- /dev/null +++ b/src/main/webapp/pages/default.jsp @@ -0,0 +1,9 @@ +localhost_access_log.2022-10-05.txt<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> + + + + + + \ No newline at end of file
      Session Info
      Max Inactive Interval<%=maxInactiveInterval%>
      hostname<%=hostname%>
      Session Vaule List
      NAME