<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page info="left_Frame" errorPage="error.jsp" %>
<% request.setCharacterEncoding("utf-8"); %>
<%
Object mem_name = session.getAttribute("member_name");
Object mem_id = session.getAttribute("member_id");
session.setAttribute("member_id", mem_id);
if(session.getValue("member_id")==null){
%>
<link rel="StyleSheet" href="style.css" type="text/css">
<script language="JavaScript">
<!--
function login_check(){
if(!document.login.userid.value){
alert("ID를 입력하세요!");
document.login.userid.focus();
return;
}
if(!document.login.password.value)
{
alert("패스워드를 입력하세요.!");
document.login.password.focus();
return;
}
document.login.submit();
}
//-->
</script>
<style type-"text/css">
<!--
.style{color:#FF0000}
</style>
<form name="login" method="post" action="../Pro/login_process.jsp">
<tr bgcolor="#D9D9D9">
<td height="90">
<table width="100%" border="0" cellspaciong="0" cellpaddiong="0">
<tr>
<td height="15px"></td>
</tr>
<tr>
<td colspan="4" height="5px" bgcolor="#FF0000"></td>
</tr>
<tr>
<td colspan="4" height="10px"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="4%">&nbps;</td>
<td width="34%" class="style1" align="center">Pass</td>
<td width="62%"><input type="password" maxlength="12" name="password" size='10' class="input_style1"></td>
</tr>
<tr>
<td colspan="4" height="10px"></td>
</tr>
<tr>
<td colspan="4" height="5px"bgcolor="#0000FF"></td>
</tr>
<tr>
<td colspan="4" height="10px"></td>
</tr>
</table>
<table width="133" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
<tr>
<td width="10"> </td>
<td align="center" class='style1'>
<a href="javascript:login_check()">로그인</a>
<a href="insert.html" target="_top">회원가입</a></td>
<td width="5"> </td>
</tr>
</table>
</td>
</tr>
</form>
<%}
else{
%>
<link rel="stylesheet" href="style.css" type="text/css">
<tr>
<td height="90" bgcolor='#F5F5F5'>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td width="4%" class="style2">
<%=mem_name %>님 <br> 환영합니다</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
<tr>
<td align="center"><font class="style2"><a href="logout.jsp">로그아웃 </a></font></td>
<td width="5"> </td>
</tr>
<tr>
<td align="center" class="style2">
<a href="select.jsp" target="mainFrame">개인정보조회</a></td>
</tr>
<tr>
<td align="center"><font class="style2"><a href="admin.jsp" target="mainFrame">전체목록보기</a>></font></td>
<td width="5"> ></td>
</tr>
</table>
<%
}
%>
------------실행화면
아직 CSS파일을 안넣어서 그런데 그것때문인가요?
회원가입만 눌러지고 로그인은 눌러지지도 않습니다ㅠ