<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
  body{
		background-color:black;
	}
</style>
</head>
<body>
<script>
alert("Login Successed !");
location.href="main2.jsp";
</script>
<center>
 <%
if(session.getAttribute("id")==null){
response.sendRedirect("loginForm.jsp");
}else{
%>
<%=session.getAttribute("id")%><font color="black">님의 개인페이지 입니다.</font><br>
<%
}
%>


안녕하세요! <p><p>
Welcome!!! <p><p>

<p>
 <A href="http://localhost:8080/asdfsadf/member2/inputForm.jsp" >JOIN</p>
 <A href="http://localhost:8080/asdfsadf/member2/loginForm.jsp" >LOGIN</p>
 <A href="http://localhost:8080/asdfsadf/member2/list.jsp" > USER LIST </p>
 <A href="http://localhost:8080/asdfsadf/member2/editForm.jsp" > USER EDIT </p>
 <A href="http://localhost:8080/asdfsadf/member2/deleteForm.jsp" > USER DELETE </p>
 </center>
</body>
</html>