首页 > 其他分享 >4.25每日总结

4.25每日总结

时间:2023-04-25 20:35:40浏览次数:31  
标签:总结 兰亭序 Arial 每日 font 4.25 稻香

<%@ page language="java" contentType="text/html; charset=UTF-8"

    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>歌曲界面</title>
<style>
        a{
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            font-size: 40px;
            color: #1068f5;
            text-decoration: none;
        }
    </style>
</head>
<body style="background:url(images/bg.jpg) no-repeat;">
<%
String username=null;
String password="";
Cookie [] cookies = request.getCookies();
 if(cookies!=null){
     //遍历cookie
     for(int i = 0;i<cookies.length;i++){
         if(cookies[i].getName().equals("username")){
             //获取cookie里面的用户名
             username = cookies[i].getValue();
         }else if(cookies[i].getName().equals("password")){
             //获取密码
             password = cookies[i].getValue();
         }
     }
 }
%>
<a href="#">当前身份:<%
if(username==null)
{
    out.print("未登录");
}else
{
    out.print(username);
}
%></a>
    <div style="margin-top: 300px; margin-left: 700px;">
    <%
    if(username!=null)
    {
        %><a href="first.jsp?pages=1">兰亭序</a><br><br><br><br>
        <a href="second.jsp?pages=2">稻香</a><br><br><br><br>
        <a href="third.jsp?pages=3">反方向的钟</a><br><br><br><br><%
    }
    else
    {
        %>
        <a href="Login.jsp?pages=1">兰亭序</a><br><br><br><br>
        <a href="Login.jsp?pages=2">稻香</a><br><br><br><br>
        <a href="Login.jsp?pages=3">反方向的钟</a><br><br><br><br>
        <%
    }
    %>
    </div>
</body>
</html>

 

标签:总结,兰亭序,Arial,每日,font,4.25,稻香
From: https://www.cnblogs.com/louwangshayu/p/17353748.html

相关文章

  • 每日打卡一小时(第十六天)
    一.问题描述 二.设计思路1.利用数组输入数据2.创建一个二维数组利用循环记录每组数据前面的值除以某个数等于后面的值的数3.记录每组的最大值和最小值4.最大值中找最小值,最小值中找最大值5.输出三.流程图 四.代码实现#include<iostream>usingnamespacestd;int......
  • C++每日打卡
    计算年龄问题定义一个Birthday类,其成员变量有3个整形变量(出生的年月日):year,month,day;提供构造方法对这3个成员变量进行初始化;成员函数有getAge(),其功能是实现计算到2017年12月25日时该Birthday对象的年龄。 #include<iostream>usingnamespacestd;classBirthday{int......
  • 4.25打卡
    #include<iostream>#include<iomanip>#include<cmath>usingnamespacestd;boolsymm(unsignedn){unsignedi=n;unsignedm=0;while(i>0){m=m*10+i%10;i/=10;}returnm==n;}intmain(){......
  • ES6-特性总结
    EcmaScript权威地址:https://www.runoob.com/w3cnote/es6-tutorial.htmlEcmaScript视频教程:https://www.bilibili.com/video/BV1uK411H7on/?spm_id_from=333.337.search-card.all.click  ......
  • 2023.4.25
    publicbooleanroot_IsPass(Stringid,Stringpass)throwsException{Stringpas=root_GetPassword(id);if(pas!=null){if(!pas.equals("")){if(pass!=null){......
  • 每日总结-23.4.25
    <%@pagecontentType="text/html;charset=UTF-8"language="java"%><html><head><title>添加用户</title><style>body{background-color:#f2f2f2;font-family:Aria......
  • 分享总结:开源网关-应用管理篇
    需求痛点在这互联网高速发展的时代,企业业务系统多、渠道广,如何管理内外部调用端系统具有极大的挑战。数量方面:API网关需要对各端应用统一管理,例如对企业自身很多的前端应用,包括不限于web应用、移动APP、小程序,甚至第三方各端的应用进行管理,确保各应用有序、合规调用服务。安......
  • 我总结的一些 C++ 高频面试题(收藏)
    extern“C”extern是C/C++语言中表明函数和全局变量作用范围的关键字,该关键字告诉编译器,其声明的函数和变量可以在本模块或其它模块中使用。被extern"C"修饰的变量和函数是按照C语言方式编译和连接的。extern“C”这个声明的真实目的:解决名字匹配问题,实现C++与C的混合......
  • 每日一题-合并回文子串
    合并回文子串由于n比较小,我们可以区间dp\(f[i][j][a][b]\)表示s[i,j]和t[a,b]能否一起构成回文子串。\(g[i][j],h[i][j]\)分别表示s[i,j],t[i,j]能否构成回文字串。g,h直接暴力求即可。注意判断边界条件,也就是i=j和a=b的情况#include<cstdio>#include<algorithm>#include<c......
  • SQL注入--数据外带(总结)
    目录导航  0x00数据外带平台  0x01DNS外带    MYSQL数据外带    MSSQL数据外带    Oracle数据外带    命令外带  0x02HTTP外带    MSSQL数据外带    Oracle数据外带0x00数据外带平台平台网址平台简介http......