▣ include/header.jsp ( 수정 )
페이지 정보
작성자 관리자 작성일 23-05-10 09:47 조회 313 댓글 0본문
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ 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>
<tr>
<td colspan=2 align=center>
<a href="/bbs/list.jsp?code=notice">[공지게시판]</a>
<a href="/bbs/list.jsp?code=gallery">[갤러리게시판]</a>
</td>
</tr>
</table>
<hr>
댓글목록 0
등록된 댓글이 없습니다.