▣ include/header.jsp ( 수정 )
페이지 정보
본문
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/include/dbconnection.jsp" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>JSP</title>
<link rel="stylesheet" href="/css/basic.css">
</head>
<body>
<%
String session_id = (String)session.getAttribute("id");
String session_name = (String)session.getAttribute("name");
String session_level = (String)session.getAttribute("level");
%>
session_id : <%=session_id %><br>
session_name : <%=session_name %><br>
session_level : <%=session_level %><br>
<table width=100% height=50>
<tr>
<td><a href="/">[로고]</a></td>
<td align="right">
<%if(session_id == null){ %>
<a href="/member/login.jsp">[로그인]</a>
<a href="/member/join.jsp">[회원가입]</a>
<%}else{ %>
<a href="/member/logout.jsp">[로그아웃]</a>
<a href="/member/modify.jsp">[회원수정]</a>
<%} %>
</td>
</tr>
</table>
<hr>
- 이전글▣ include/dbconnection.jsp ( 수정 ) 23.03.13
- 다음글● 데이타베이스 ( 테이블 생성 ) 23.03.13
댓글목록
등록된 댓글이 없습니다.