topframe.jsp

来自「jsp的课程实践」· JSP 代码 · 共 44 行

JSP
44
字号
<%@ page language="java"  contentType="text/html;charset=gbk"%>
<%
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>
    <base href="<%=basePath%>">
    
    <title>topFrame</title>
    
	<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">
    <style type="text/css">
    A:link {color: black;TEXT-DECORATION: none}
	A:active {color: black;TEXT-DECORATION: none}
	A:visited {color: black;TEXT-DECORATION: none}
	A:hover {color: black;TEXT-DECORATION: none}
    
    </style>


  </head>
  
  <body>
  <div align="center">
    <h1>东北大学学生选课管理系统</h1><img src="image/logo.jpg"><hr>
    <table width="421" border="0" cellpadding="3" cellspacing="9" bordercolor="#CCCCCC" bgcolor="#CCCCCC" height="40">
  <tr align="center">
    <td><a href="content.jsp" target="contentFrame">网站首页</a></td>
    <td><a href="login.jsp" target="contentFrame">学生登陆</a></td>
    <td><a href="/StudentCourse/DisplayAllCourseServlet" target="contentFrame">学生选课</a></td>
    <td><a href="/StudentCourse/AdminCourseServlet" target="contentFrame">课程维护</a></td>
  </tr>
  </table>
  </div>
  </body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?