▣ include/header.jsp ( 수정 )
페이지 정보
작성자 관리자 작성일 23-04-25 10:18 조회 298 댓글 0본문
<%@ 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>
댓글목록 0
등록된 댓글이 없습니다.