<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.sql.Connection" %>
<%@ page import="java.sql.DriverManager" %>
<%@ page import="java.sql.PreparedStatement" %>
<%@ page import="java.sql.ResultSet" %>
<%@ page session="true" %>

<% request.setCharacterEncoding("utf-8"); %>
    
    
<html>
 <link rel="stylesheet" href="../../visual.css">
<head>
<meta charset="UTF-8">
<title>회원가입</title>
<script>
	function checkValue(){
		if(!document.userInfo.valid_id.value){
			alert("아이디를 입력해주세요.");
			return false;
		}
	}
</script>
</head>
<body>
<table>
<tr>
<td>
	<h2 style="text-align:center; font-size:50px"> 회원가입  </h2>
	<form method="post" action="IdChkPro.jsp" name="userInfo" onsubmit="return checkValue()">
		사용할 아이디 <br>
		<input class="box" style="margin:5px auto;width:360px;height:50px;padding:10px;"type="text" name="valid_id" placeHolder="아이디">
		<input style="margin:5px auto;width:85px;height:50px;padding:10px;" type="submit" value="중복확인"><br>
	</form>
</table>
</body>
</html>

<!-- ----------------------------------------------------------------------- -->
