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>
<!-- No Cache 설정 -->
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="No-Cache">
<meta charset="UTF-8">
<title>Model2 MVC 패턴</title>
<link rel="stylesheet" href="/css/basic.css">
</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: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>
- 이전글model/Member.java 23.03.17
- 다음글member/join.jsp 23.03.17
댓글목록
등록된 댓글이 없습니다.