-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wlsgu
authored and
wlsgu
committed
Sep 1, 2018
1 parent
f4aaf09
commit bc42c8c
Showing
6 changed files
with
101 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Insert title here</title> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<% | ||
System.out.println("접속한 세션:"+session.getId()); | ||
session.invalidate(); // 세션종료 | ||
System.out.println(session.getId()+"세션종료하였습니다."); | ||
response.sendRedirect("/exer02/index.jsp"); | ||
%> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>【Welcome】</title> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<%@page import="java.util.Map"%> | ||
<%@page import="beans.AccountDao"%> | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<% | ||
String access_id = (String)session.getAttribute("access_id"); | ||
AccountDao acd = new AccountDao(); | ||
Map<String,Object> user = acd.getLoginData(access_id); // 로그인한유저정보 | ||
String get_id = (String)user.get("id"); | ||
String get_pw = (String)user.get("pass"); | ||
String get_name = (String)user.get("name"); | ||
String get_gender = (String)user.get("gender"); | ||
%> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>【Welcome】</title> | ||
</head> | ||
<body style="text-align: center;"> | ||
<h1> 회 원 가 입 </h1> | ||
<form action="chk_update.jsp" method="post"> | ||
<label><b style="color: red">*</b> I D :</label><input type="text" name="id" value=<%=get_id%>/><br/><br/> | ||
<label><b style="color: red">*</b> P W :</label><input type="text" name="pass" value=<%=get_pw%>/><br/><br/> | ||
<label><b style="color: red">*</b> 이름 :</label><input type="text" name="name" value=<%=get_name%>/><br/><br/> | ||
<label><b style="color: red">*</b> 성별 :</label> | ||
<input type="radio" name="gender" value="M"/>남자 | ||
<input type="radio" name="gender" value="F"/>여자<br/><br/> | ||
<button type="submit">가입</button> | ||
</form> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters