📄 homepage.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.computer01.entity.*" %>
<%@ page import="com.computer01.common.*" %>
<html>
<head>
<title> SuccessPage </title>
<link href="<%=request.getContextPath()%>/web/js/frame/style/content.css" type=text/css rel=stylesheet>
<script language="javascript" src="<%=request.getContextPath()%>/web/js/frame/style/content.js"></script>
</head>
<body onselectstart="return false" scroll=no>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="border-right:3px solid #DEDBD6;border-top:2px solid #DEDBD6">
<table id="tMenuTab" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="tContentTitle">
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="16px">
<tr>
<td width="12" class="restoreTd" onMouseOver="mOvr(this)" onMouseOut="mOut(this)"><img src="images/restore.gif" width="16" height="15" border=0 alt="" onClick="javascript:window.parent.testframeset.cols = '120,*';"></td>
<td class="tContentTxt">成功登录系统</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="tSubMenu" valign="middle" style="border-bottom:1px solid #848284">
<table width="100%" height="25" border="0" cellspacing="3" cellpadding="0">
<%
SessionInfo sessinfo =
(SessionInfo)request.getSession().getAttribute("SessionInfo");
if(sessinfo != null){
TAB_STUDENTS currstu = sessinfo.getCurrstu();
%>
<tr>
<td>当前用户:
<span style="font-weight:bold;color:#396DA5"><%=currstu.getSTUNAME() %></span></td>
</tr>
</table>
</td>
</tr>
<%
}else{// user not login
%>
<script type="text/javascript">
alert("你尚未登录,请重新登录");
window.location.href = "/supermarkdemo/login.jsp";
</script>
<%
response.sendRedirect(
request.getContextPath()
+"/login.jsp"
);
}
%>
<tr>
<td style="border-bottom:1px solid #DEDBD6">
<iframe frameborder=0 id="subiframe" name="subiframe"
src="<%=request.getContextPath()%>/web/jsp/common/mainpage.jsp" style="height: 100%; width: 100%; visibility: inherit"></iframe></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -