File tree 9 files changed +871
-26
lines changed
src/com/saf/mybatis/mapper
9 files changed +871
-26
lines changed Original file line number Diff line number Diff line change 27
27
<!-- 탑바 right 5-2 -->
28
28
<div class =" col-auto g-pos-rel g-px-15" >
29
29
<ul class =" ul list-inline g-mt-minus-10" >
30
- <li class =" list-inline-item" ><a class =" g-color-topbar" href =" ${ pageContext. request. contextPath } /login/login.jsp" >로그아웃 </a ></li >
30
+ <li class =" list-inline-item" ><a class =" g-color-topbar" href =" ${ pageContext. request. contextPath } /login/login.jsp" >로그인 </a ></li >
31
31
<li class =" list-inline-item g-color-topbar" >|</li >
32
32
<li class =" list-inline-item" ><a class =" g-color-topbar" href =" ${ pageContext. request. contextPath } /join/join.jsp" >회원가입</a ></li >
33
33
<li class =" list-inline-item g-color-topbar" >|</li >
Original file line number Diff line number Diff line change 1
1
<%@ page language =" java" contentType =" text/html; charset=UTF-8"
2
2
pageEncoding =" UTF-8" %>
3
+ <%
4
+ User unum= (User )session. getAttribute(" unum" );
5
+ % >
3
6
<!DOCTYPE html>
4
7
<html lang =" en" >
5
8
<head >
27
30
<!-- 탑바 right 5-2 -->
28
31
<div class =" col-auto g-pos-rel g-px-15" >
29
32
<ul class =" ul list-inline g-mt-minus-10" >
33
+ <% if (unum== null ){ % >
30
34
<li class =" list-inline-item" ><a class =" g-color-topbar" href =" ${ pageContext. request. contextPath } /login/login.jsp" >로그인</a ></li >
31
35
<li class =" list-inline-item g-color-topbar" >|</li >
32
36
<li class =" list-inline-item" ><a class =" g-color-topbar" href =" ${ pageContext. request. contextPath } /join/join.jsp" >회원가입</a ></li >
37
+ <!-- <li class="list-inline-item g-color-topbar">|</li> -->
38
+ <% }else { % >
39
+ <li class =" list-inline-item" ><a class =" g-color-topbar" href =" ${ pageContext. request. contextPath } /login/login.jsp" >로그아웃</a ></li >
33
40
<li class =" list-inline-item g-color-topbar" >|</li >
34
41
<li class =" list-inline-item" ><a class =" g-color-topbar" href =" ${ pageContext. request. contextPath } /mypage/mypage_all.jsp" >마이페이지</a ></li >
42
+ <% } % >
35
43
</ul >
36
44
37
45
</div >
You can’t perform that action at this time.
0 commit comments