include/header.jsp
페이지 정보
본문
<%@ 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="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Model2 MVC 패턴</title>
<link rel="stylesheet" href="/css/basic.css">
<script src="http://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.4.1.min.js"></script>
</head>
<body>
sessionScope.id : ${sessionScope.id }<br>
sessionScope.name : ${sessionScope.name }<br>
sessionScope.level : ${sessionScope.level }<br>
<table width=100% height=50>
<tr>
<td><a href="/">[로고]</a></td>
<td align="right">
<c:if test="${sessionScope.level eq '10' }">
<a href="/admin/">[관리자]</a>
</c:if>
<a href="/chat.jsp">[채팅]</a>
<a href="/mail.jsp">[메일]</a>
<c:choose>
<c:when test="${sessionScope.id != null }">
<a href="/member/logout">[로그아웃]</a>
<a href="/member/modify">[회원수정]</a>
</c:when>
<c:otherwise>
<a href="/member/login">[로그인]</a>
<a href="/member/join">[회원가입]</a>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<hr>
- 이전글chat.jsp 23.03.18
- 다음글● Gmail 이용 - 메일 보내기 ( activation.jar , mail.jar 추가 ) 23.03.18
댓글목록
등록된 댓글이 없습니다.