표준출력 쌓게끔 수정
This commit is contained in:
1
pom.xml
1
pom.xml
@@ -6,6 +6,7 @@
|
|||||||
<artifactId>acc-webapp-mvn</artifactId>
|
<artifactId>acc-webapp-mvn</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<name>acc-webapp-mvn</name>
|
<name>acc-webapp-mvn</name>
|
||||||
|
<packaging>war</packaging>
|
||||||
<description>Maven Accordion Webapp Test</description>
|
<description>Maven Accordion Webapp Test</description>
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|||||||
@@ -9,5 +9,4 @@
|
|||||||
<welcome-file>default.htm</welcome-file>
|
<welcome-file>default.htm</welcome-file>
|
||||||
<welcome-file>default.jsp</welcome-file>
|
<welcome-file>default.jsp</welcome-file>
|
||||||
</welcome-file-list>
|
</welcome-file-list>
|
||||||
<distributable/>
|
|
||||||
</web-app>
|
</web-app>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||||
<ul>
|
<ul>
|
||||||
<c:set var="contextPath" value="<%= request.getContextPath()%>"></c:set>
|
<c:set var="contextPath" value="<%= request.getContextPath()%>"></c:set>
|
||||||
<li><a href="${contextPath}/pages/1.jsp">기본페이지 호출</a></li >
|
<li><a href="${contextPath}/pages/default.jsp">기본페이지 호출(표준출력테스트)</a></li >
|
||||||
|
|
||||||
<li> F01 : 클라이언트 분리 호출(이미지/JSP) </li>
|
<li> F01 : 클라이언트 분리 호출(이미지/JSP) </li>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -9,8 +9,24 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
||||||
<h1 style=" padding:10px;" width=100%> APM BMT !!</h1>
|
<h1 style=" padding:10px;" width=100%> 샘플 페이지 기본출력) !!</h1>
|
||||||
|
|
||||||
|
<%
|
||||||
|
|
||||||
|
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("=========================");
|
||||||
|
|
||||||
|
|
||||||
|
%>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -6,7 +6,7 @@ APM BMT 테스트
|
|||||||
</H2>
|
</H2>
|
||||||
|
|
||||||
1) 기본 페이지 <br>
|
1) 기본 페이지 <br>
|
||||||
http://IP/NIA-APM-BMT/jsp/common/normal.jsp <br>
|
http://IP/jsp/common/normal.jsp <br>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
<%@page import="java.util.*" %>
|
<%@page import="java.util.*" %>
|
||||||
<%@page import="java.text.*" %>
|
<%@page import="java.text.*" %>
|
||||||
|
<%@page import="java.net.InetAddress" %>
|
||||||
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
<html>
|
<html>
|
||||||
@@ -34,6 +35,7 @@ sess.setAttribute("SessionAttr2", rand_MS+"");
|
|||||||
|
|
||||||
|
|
||||||
java.util.Enumeration e = sess.getAttributeNames();
|
java.util.Enumeration e = sess.getAttributeNames();
|
||||||
|
String hostname = InetAddress.getLocalHost().getHostName();
|
||||||
%>
|
%>
|
||||||
<table border=1 bordercolor="gray" cellspacing=1 cellpadding=0 width="100%">
|
<table border=1 bordercolor="gray" cellspacing=1 cellpadding=0 width="100%">
|
||||||
<tr bgcolor="gray"><td colspan=2 align="center"><font color="white"><b>Session Info</b></font></td></tr>
|
<tr bgcolor="gray"><td colspan=2 align="center"><font color="white"><b>Session Info</b></font></td></tr>
|
||||||
@@ -52,6 +54,9 @@ java.util.Enumeration e = sess.getAttributeNames();
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Max Inactive Interval</td><td><%=maxInactiveInterval%></td>
|
<td>Max Inactive Interval</td><td><%=maxInactiveInterval%></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>hostname</td><td><%=hostname%></td>
|
||||||
|
</tr>
|
||||||
<tr bgcolor="cyan"><td colspan=2 align="center"><b>Session Vaule List<b></td></tr>
|
<tr bgcolor="cyan"><td colspan=2 align="center"><b>Session Vaule List<b></td></tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">NAME</td>
|
<td align="center">NAME</td>
|
||||||
|
|||||||
9
src/main/webapp/pages/default.jsp
Normal file
9
src/main/webapp/pages/default.jsp
Normal file
@@ -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"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
|
||||||
|
<jsp:include page="/jsp/common/template.jsp">
|
||||||
|
<jsp:param name="content" value="/jsp/normal.jsp"/>
|
||||||
|
<jsp:param name="title" value="1-1"/>
|
||||||
|
</jsp:include>
|
||||||
Reference in New Issue
Block a user