표준출력 쌓게끔 수정

This commit is contained in:
jungwonKim
2022-10-05 15:36:17 +09:00
parent 96df49e0c9
commit 28293bb58b
7 changed files with 34 additions and 4 deletions

View File

@@ -6,6 +6,7 @@
<artifactId>acc-webapp-mvn</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>acc-webapp-mvn</name>
<packaging>war</packaging>
<description>Maven Accordion Webapp Test</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@@ -9,5 +9,4 @@
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<distributable/>
</web-app>

View File

@@ -4,7 +4,7 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<ul>
<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>
<ul>

View File

@@ -9,8 +9,24 @@
<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>
</html>

View File

@@ -6,7 +6,7 @@ APM BMT 테스트
</H2>
1) 기본 페이지 <br>
http://IP/NIA-APM-BMT/jsp/common/normal.jsp <br>
http://IP/jsp/common/normal.jsp <br>

View File

@@ -3,6 +3,7 @@
<%@page import="java.util.*" %>
<%@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">
<html>
@@ -34,6 +35,7 @@ sess.setAttribute("SessionAttr2", rand_MS+"");
java.util.Enumeration e = sess.getAttributeNames();
String hostname = InetAddress.getLocalHost().getHostName();
%>
<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>
@@ -52,6 +54,9 @@ java.util.Enumeration e = sess.getAttributeNames();
<tr>
<td>Max Inactive Interval</td><td><%=maxInactiveInterval%></td>
</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>
<td align="center">NAME</td>

View 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>