forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.jsp
More file actions
41 lines (41 loc) · 1.26 KB
/
index.jsp
File metadata and controls
41 lines (41 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.model.User" %>
<%@ page import="com.core.*" %>
<%
response.setHeader("Cache-Control","no-cache");
response.setHeader("Cache-Control","no-store");
response.setDateHeader("Expires",0);
response.setHeader("Pragma","no-cache");
if (!Crazyadept.UserIsOK(session,FinalConstants.STATUS_ADMIN)) {
response.sendRedirect("../user_logon.jsp");
}
%>
<html>
<head>
<title>¹ÜÀíÔ±¿ØÖÆÌ¨</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
</head>
<body>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
<tr align="center">
<td height="300" colspan="2">
<iframe src="top.jsp" frameborder="0" scrolling="no" name="topFrame" height="100%" width="100%" >
</iframe>
</td>
</tr>
<tr>
<td width="10" align="left" valign="top"><jsp:include page="left.jsp"/></td>
<td align="center">
<table width="600" height="400"><tr><td valign="top"><br/>
<iframe src="main.jsp" name="mainFrame" frameborder="0" width="98%" height="98%"></iframe>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" align="center"><jsp:include page="bottom.jsp"/></td>
</tr>
</table>
</body>
</html>