首页 > 其他分享 >每日总结-23.5.18

每日总结-23.5.18

时间:2023-05-18 21:34:55浏览次数:36  
标签:总结 144 solid 18 30 rgb 23.5 border 255

<%@ 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>
  <title>登录</title>
  <style type="text/css">
    table {
      /*表格边框为实线或者是空心双线*/
      border-collapse: collapse;
      /*边框与边框的空间*/
      border-spacing: 0;
      padding: 40px ;
    }
    #loginMain {
      width: 400px;
      height:300px;
      margin: 1em auto;
      padding-bottom: 10px;
      border-right: rgb(30,144,255) 2px solid;
      border-top: rgb(30,144,255) 2px solid;
      border-left: rgb(30,144,255) 2px solid;
      border-bottom: rgb(30,144,255) 2px solid;
    }
    input{
      height: 40px;
      width: 240px;
    }

  </style>
</head>
<%
    String pages="";
    pages=request.getParameter("pages");
%>
<%
    String username="";
    String password="";
    out.print(pages);
    //获取cookie里面的值
    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();
            }
        }
    }
%>
<body background="back.jpg">
<h1 align="center">登 陆</h1>
<br><br>
<form action="check.jsp" method="post">
  <table id="loginMain" border="0" style="font-size:18px;width:480px" align="center">
      <tr>
        <td align="center">用户名:<input type="text" name="username" size="20" placeholder="输入用户名"  style="font-size:18px"/>
      <br><br><input type="hidden" name="pages" value=<%=pages%> />
        密   码:<input type="password" name="password" size="20" placeholder="输入密码" style="font-size:18px"/></td>
      </tr>
      <tr><td align="center" colspan="2"><input type="submit" value="登录" style="width:45px;height:30px;margin:5px 40px"/>
        <input type="reset" value="重置" style="width:45px;height:30px;margin:5px 40px"/>
      </td>
      </tr>
  </table>
</form>
</body>
</html>

 

标签:总结,144,solid,18,30,rgb,23.5,border,255
From: https://www.cnblogs.com/laobing6214/p/17413367.html

相关文章

  • 面向对象的编程(OOP)知识点总结
    软件构造期末考试将近,在此我将从OOP这一章节开始复习,记录下该章节中的重点内容。知识点概要:OOP基本概念:对象、类、属性、方法、接口和枚举OOP的独特特征:——封装与信息隐藏——继承与重写——多态、子类型、重载——静态与动态分派Java中一......
  • 5月18号今日总结
    今日代码:%定义目标函数f=@(x)100*(x(1)^2-x(2))^2+(x(1)-1)^2;%定义目标函数的梯度grad_f=@(x)[400*x(1)*(x(1)^2-x(2))+2*(x(1)-1);-200*(x(1)^2-x(2))];%定义终止准则epsilon=1e-5;%定义最大迭代次数max_iterations=1000;%初始点......
  • 5-18打卡
    递归写爬楼梯#include<stdio.h>//定义一个函数,用来打印每次爬的台阶数voidprint_steps(intsteps[],intn){printf("一种可能的方法是:");for(inti=0;i<n;i++){printf("%d",steps[i]);}printf("\n");}//定义一个递......
  • 5.18
    #include<iostream>usingnamespacestd;#include<string>classstudent{public:   voidshangke();protected:   stringname;   intbj;   intid;};classteacher{public:   voidjiaoke();protected:   intID;   intgz;};c......
  • 5.18总结
    packagecom.mf.jdbc.exmaple;importcom.alibaba.druid.pool.DruidDataSourceFactory;importcom.mf.jdbc.Brand;importorg.junit.Test;importjavax.sql.DataSource;importjava.io.FileInputStream;importjava.sql.Connection;importjava.sql.PreparedStatement;......
  • 每日总结2023-05-18
    今天对项目进行美化对于登录按钮,使用<?xmlversion="1.0"encoding="utf-8"?><ripplexmlns:android="http://schemas.android.com/apk/res/android"android:color="@color/mi_bai"><itemandroid:id="@+id/maske......
  • 2023 5 18
    #include<iostream>#include<fstream>usingnamespacestd;classTercher{public:stringname="";intID=0;charsex='m';};stringname;intID;charsex;intmain(){ofstreamofs("D:\\Visua......
  • 5.18CSDN贪吃蛇
    贪吃蛇 速度不要调很慢会影响判断#include<iostream>#include<windows.h>#include<conio.h>#include<deque>#include<ctime>#include<stdexcept>usingnamespacestd;structSnake{//蛇类结构体charimage;shortx,y;//坐标};classsnakeGame......
  • 2023.5.18
    importosimportpandasaspd#添加测试数据os.makedirs(os.path.join('.','data'),exist_ok=True)data_file=os.path.join('.','data','house_tiny.csv')withopen(data_file,'w')asf:   f.write('N......
  • 5.18打卡
    一、问题描述:骰子是一个有六个面的正方体,每个面分别印有1~6之间的小圆点代表点数。假设这个游戏的规则是:两个人轮流掷骰子6次,并将每次投掷的点数累加起来。点数多者获胜;点数相同则为平局。要求编写程序模拟这个游戏的过程,并求出玩100盘之后谁是最终的获胜者。二、设计思路:由于每......