Skip to content

Commit 2a26531

Browse files
committed
.
1 parent bf67d42 commit 2a26531

466 files changed

Lines changed: 8599 additions & 2363 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Lesson07/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

Lesson07/WebContent/Header.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<%-- 3. 메뉴 추가 --%>
1+
<%-- 메뉴 추가 --%>
22
<%@page import="spms.vo.Member"%>
33
<%@ page language="java" contentType="text/html; charset=UTF-8"
44
pageEncoding="UTF-8"%>
@@ -22,7 +22,7 @@ SPMS(Simple Project Management System)
2222
!empty sessionScope.member.email}">
2323
${sessionScope.member.name}
2424
(<a style="color:white;"
25-
href="<%=request.getContextPath()%>/auth/logout.do">로그아웃</a>)
25+
href="<%=request.getContextPath()%>/auth/logout.do">로그아웃</a>)
2626
</c:if>
2727
</span>
2828
</div>

Lesson07/WebContent/Hello.jsp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<%@ page language="java" contentType="text/html; charset=UTF-8"
2+
pageEncoding="UTF-8"%>
3+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
4+
"http://www.w3.org/TR/html4/loose.dtd">
5+
<html>
6+
<head>
7+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8+
<title>Hello</title>
9+
</head>
10+
<body>
11+
<p>안녕하세요</p>
12+
</body>
13+
</html>

Lesson07/WebContent/META-INF/MANIFEST.MF

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#2. using Annotation
2-
jndi.dataSource=java:comp/env/jdbc/studydb
1+
# using Annotation
2+
jndi.dataSource=java:comp/env/jdbc/studydb

Lesson07/step01/WebContent/WEB-INF/lib/javassist-3.16.1-GA.jar renamed to Lesson07/WebContent/WEB-INF/lib/javassist-3.16.1-GA.jar

File renamed without changes.
-697 KB
Binary file not shown.

Lesson07/step01/WebContent/WEB-INF/lib/slf4j-api-1.6.1.jar renamed to Lesson07/WebContent/WEB-INF/lib/slf4j-api-1.6.1.jar

File renamed without changes.

Lesson07/step01/WebContent/WEB-INF/lib/slf4j-simple-1.6.1.jar renamed to Lesson07/WebContent/WEB-INF/lib/slf4j-simple-1.6.1.jar

File renamed without changes.

Lesson07/WebContent/WEB-INF/web.xml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,28 @@
44
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
55
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
66
id="WebApp_ID" version="3.0">
7-
<display-name>web05</display-name>
8-
<context-param>
9-
<param-name>contextConfigLocation</param-name>
10-
<param-value>/WEB-INF/application-context.properties</param-value>
11-
</context-param>
7+
<display-name>web06</display-name>
8+
9+
<!-- 컨텍스트 초기화 파라미터 -->
10+
<context-param>
11+
<param-name>contextConfigLocation</param-name>
12+
<param-value>/WEB-INF/application-context.properties</param-value>
13+
</context-param>
14+
15+
<!-- 필터 선언 -->
16+
17+
<!-- 필터 URL 매핑 -->
18+
19+
<!-- 서블릿 선언 -->
1220

13-
<resource-ref>
14-
<res-ref-name>jdbc/studydb</res-ref-name>
15-
<res-type>javax.sql.DataSource</res-type>
16-
<res-auth>Container</res-auth>
17-
</resource-ref>
21+
<!-- 서블릿을 URL과 연결 -->
1822

23+
<resource-ref>
24+
<res-ref-name>jdbc/studydb</res-ref-name>
25+
<res-type>javax.sql.DataSource</res-type>
26+
<res-auth>Container</res-auth>
27+
</resource-ref>
28+
1929
<welcome-file-list>
2030
<welcome-file>index.html</welcome-file>
2131
<welcome-file>index.htm</welcome-file>

0 commit comments

Comments
 (0)