-
Notifications
You must be signed in to change notification settings - Fork 1
/
Join.jsp
53 lines (49 loc) · 1.32 KB
/
Join.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>KNU MOVIE_TEAM3</title>
</head>
<h3>회원가입</h3>
<body>
<form action="joining.jsp" method = "POST">
<%
String idcheck = "false";
idcheck = (String)session.getAttribute("key");
session.setAttribute("key",idcheck);
String getid = (String)session.getAttribute("id");
if(getid.equals(""))
{
out.println("ID : <input type = \"text\" name = \"id\">");
}
else{
out.println("ID : "+getid);
session.setAttribute("id",getid);
}
%>
<input type = "button" value = "ID중복확인" onclick = "location.href = 'idcheck.jsp'">
<br>
이름 : <input type = "text" name = "name">
<br>
PW :<input type = "password" name = "pw">
<br>
PW 확인: <input type = "password" name = "pw2">
<br>
생년월일(mm-dd-yyyy) : <input type = "text" name = "birth">
<br>
주소 : <input type = "text" name = "address">
<br>
성별 :
<input type = "radio" name = "sex" value ="m">남
<input type = "radio" name = "sex" value = "f">여
<br>
직업 : <input type = "text" name = "job">
<br>
전화번호 : <input type = "text" name = "phone">
<br><br>
<input type = "submit" value = "회원가입">
</form>
</body>
</html>