📄 paikeindex.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<body>
<%
if(request.getSession().getAttribute("login") == null || request.getSession().getAttribute("login").equals("")){
%>
<script>alert('您还没有登陆!');window.close();</script>
<%
}else{
ArrayList login = (ArrayList)request.getSession().getAttribute("login");
if(!login.get(2).equals("0")){
%>
<script>alert('您没有权限查看此网页!');window.close();</script>
<%
}}
%>
<div align="center">
<table border="0" width="800" cellspacing="0" cellpadding="0" id="table1" bgcolor="#E1F0FF">
<tr>
<td colspan="3" align="center"><jsp:include page="/jsp/top.jsp"/></td>
</tr>
<tr>
<td colspan="3"><hr></td>
</tr>
<tr>
<td width="150" align="center" valign="top">
<iframe name="muluFrame" src="jsp/paike/paikemulu.jsp" align="middle" width="150" height="366" border="0" frameborder="0">浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
<td background="img/bj_x.gif" width="2"></td>
<td align="center" valign="top">
<iframe name="mainFrame" width="640" height="530" src="jsp/paike/laoshiluru.jsp" border="0" frameborder="0">浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -