forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbanner.jsp
More file actions
18 lines (18 loc) · 697 Bytes
/
banner.jsp
File metadata and controls
18 lines (18 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<%@ page contentType="text/html; charset=gb2312"%>
<%
String manager=(String)session.getAttribute("manager");
//验证用户是否登录
if (manager==null || "".equals(manager)){
response.sendRedirect("login.jsp");
}
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="118" valign="bottom" background="Images/top_bg.gif" bgcolor="#EEEEEE"><table width="73%" height="79" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="69" align="right" valign="bottom">当前登录用户:<%=manager%></td>
</tr>
</table></td>
</tr>
</table>