• top.jsp


    <%@ 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="<%=basePath%>">

    <title></title>
    <link href="<%=basePath%>css/top.css" rel="stylesheet" type="text/css" />
    <style type="text/css" media="screen"><!--
    #layer1 { left: 14px; top: 74px; position: absolute; visibility: visible; }
    --></style>
    </head>

    <body>


    <div id="top_container">
    <div style="margin: 0;position:absolute; padding: 0; border: 0;top:20px;left:100px;font-weight: bold;font-style:italic; font-size: 28pt;font-family: 宋体">
    新闻发布系统<br>
    <hr width="350px" style="color: gray">

    </div>
    <div id="layer1" class="top_data">
    <script language=JavaScript>
    today=new Date();
    function date(){
    this.length=date.arguments.length
    for(var i=0;i<this.length;i++)
    this[i+1]=date.arguments[i] }
    document.write("<font color=white style='font-family: 宋体'> ",
    today.getYear(),"年",today.getMonth()+1,"月",today.getDate(),"日",
    "</font>" );
    </script>

    <font color="red">欢迎你
    <%=session.getAttribute("zhi") %>:<%=session.getAttribute("username") %>

    </font>
    </div>
    <ul>
    <%String s=( String)session.getAttribute("c_id");%>
    <li><a href="<%=basePath %>common/updatepassword.jsp" target="right"><img src="images/change.gif" />&nbsp;修改密码</a></li>
    <li><a href="#"><img src="images/bangzhu.gif" />&nbsp;帮助</a></li>
    <li><a href="<%=basePath %>Exit"><img src="images/exit.gif" />&nbsp;退出</a></li>
    </ul>
    </div>
    </body>
    </html>

  • 相关阅读:
    应用服务器安装
    datasnap的线程池
    压缩OLEVARIANT数据
    服务端日志记录
    提交主从表的多个已经修改的数据
    MySQL与PostgreSQL相比哪个更好?
    Vue入门常用指令详解
    Laravel模型事件的实现原理详解
    Git 遇到了 early EOF indexpack failed 问题
    Laravel 代码开发最佳实践
  • 原文地址:https://www.cnblogs.com/Anei/p/7780818.html
Copyright © 2020-2023  润新知