<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% 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="https://www.ctyun.cn/portal/link.html?target=%26lt%3B%25%3DbasePath%25%26gt%3B"> <title>My JSP 'index.jsp' starting page</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"> </head> <frameset rows="112,*" frameborder="no" border="0" framespacing="0"> <frame src="admin/top.jsp" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" /> <frameset id="mainframe" border="0" frameborder="no" framespacing="0" cols="184,*"> <frame src="admin/left.jsp" name="side" id="side" title="side" scrolling="auto" /> <frame src="admin/main.jsp" name="main" id="main" title="main" scrolling="auto" /> </frameset> </frameset> </html>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% 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="https://www.ctyun.cn/portal/link.html?target=%26lt%3B%25%3DbasePath%25%26gt%3B"> <title>My JSP 'top.jsp' starting page</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"> <link rel="stylesheet" type="text/css" href="https://www.ctyun.cn/portal/link.html?target=css%2Fcss.css"> </head> <body> <img src="images/logo.jpg" height="112" width="100%"/> <img src="images/top12.jpg" height="26" width="100%"> </body> </html>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <!DOCTYPE HTML> <html> <head> <base href="https://www.ctyun.cn/portal/link.html?target=%26lt%3B%25%3DbasePath%25%26gt%3B"> <title>My JSP 'left.jsp' starting page</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"> <link rel="stylesheet" type="text/css" href="https://www.ctyun.cn/portal/link.html?target=css%2Fcss.css"> </head> <body bgcolor="#31827C"> <table width="170" height="135" align="center" cellpadding="0" cellspacing="0" background="images/msg.gif"> <tr> <td width="170" height="64" valign="bottom" background="" class="menu_title"><table width="100%" height="21" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="80"> </td> <td><a href="https://www.ctyun.cn/portal/link.html?target=index.jsp" target="_parent"><strong>退出系统</strong></a></td> </tr> </table></td> </tr> <tr> <td width="170" align="center"><table width="100%" height="50" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="38%"> </td> <td width="62%"><span class="red_9"> Admin</span></td> </tr> <tr> <td width="38%"> </td> <td> <span class="red_9"> 1级</span></td> </tr> </table></td> </tr> </table> <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" > <tr align="center"> <td background="images/bar.gif" valign="middle"><a href="https://www.ctyun.cn/portal/link.html?target=admin%2FaddTopic.jsp" target="main"><strong>添加主题</strong></a></td> </tr> </table> <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" > <tr align="center"> <td background="images/bar.gif" valign="middle"><a href="https://www.ctyun.cn/portal/link.html?target=admin%2FshowAllTopic.jsp" target="main"><strong>查看主题</strong></a></td> </tr> </table> <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" > <tr align="center"> <td background="images/bar.gif" valign="middle"><a href="https://www.ctyun.cn/portal/link.html?target=admin%2FshowAllTopic.jsp" target="main"><strong>编辑主题</strong></a></td> </tr> </table> <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" > <tr align="center"> <td background="images/bar.gif" valign="middle"><a href="https://www.ctyun.cn/portal/link.html?target=admin%2FshowAllUser.jsp" target="main"><strong>查看用户</strong></a></td> </tr> </table> <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" > <tr align="center"> <td background="images/bar.gif" valign="middle"><a href="https://www.ctyun.cn/portal/link.html?target=admin%2Fregister.jsp" target="main"><strong>添加用户</strong></a></td> </tr> </table> <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" > <tr align="center"> <td background="images/bar.gif" valign="middle"><a href="https://www.ctyun.cn/portal/link.html?target=admin%2FaddNews.jsp" target="main"><strong>添加新闻</strong></a></td> </tr> </table> <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" > <tr align="center"> <td background="images/bar.gif" valign="middle"><a href="https://www.ctyun.cn/portal/link.html?target=admin%2FaddNews.jsp" target="main"><strong>编辑新闻</strong></a></td> </tr> </table> </body> </html>
<%@ page language="java" import="java.util.*,java.text.SimpleDateFormat" pageEncoding="utf-8"%> <% 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="https://www.ctyun.cn/portal/link.html?target=%26lt%3B%25%3DbasePath%25%26gt%3B"> <title>My JSP 'main.jsp' starting page</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"> body{ background-image: url(images/Bg.gif) } </style> </head> <body> <% SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); String str = sdf.format(new Date()); %> <%=str %> </body> </html>