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

4.28每日总结

时间:2023-04-28 22:15:51浏览次数:38  
标签:总结 界面 name 每日 4.28 pages

<%@ 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>
</head>
<body>
<%
    request.setCharacterEncoding("utf-8");
    String password=request.getParameter("password");
    String username=request.getParameter("username");
    HttpSession sessions = request.getSession();
    String pages=request.getParameter("pages");
        //将信息保存在cookie中
        Cookie usernameCookie = new Cookie("username", username);
        Cookie passwordCookie = new Cookie("password", password);
        //设置Cookie的有效时间
        usernameCookie.setMaxAge(60*5);
        passwordCookie.setMaxAge(60*5);
        response.addCookie(usernameCookie);
        response.addCookie(passwordCookie);
%>
<jsp:forward page="content.jsp">
    <jsp:param value="<%=pages%>" name="pages"/>
</jsp:forward>


</body>
</html>

标签:总结,界面,name,每日,4.28,pages
From: https://www.cnblogs.com/2351920019xin/p/17363261.html

相关文章

  • 4.28每日总结
    /*submitassignmentDimQuery*提交作业信息模糊查询,输入序号,名称,截止时间,所属课程id,所属老师id,文字信息中的一项或多项,实现模糊查询,6项都不输入则为全部显示*输入参数:序号id(String),学生学号student_id(String),时间time(String),所属发布作业idpu_ass_id(String......
  • 每日总结2023-04-28
    今天完成了ANdroid中的找回密码packagecom.example.math;/**找回界面*/importstaticandroid.widget.Toast.LENGTH_SHORT;importandroidx.appcompat.app.AppCompatActivity;importandroid.os.Bundle;importandroid.os.Handler;importandroid.view.View;import......
  • CSS知识点总结
    CSS知识点总结文章内容可能较多且杂乱,可以查看页面右方的目录,以及使用Ctrl+F搜索页面内容进行内容定位。常用属性推荐搭配文档使用,可以复制属性名,到文档查看该属性对应的可选值。......
  • flower in 4.28
    乐,前半场看T2然后看错题了,后半场写T2点分治调不出来,直接摆烂谁爱写谁写。明天接着摆。后天考我造的题接着摆。五月开始认真打暴力。离营还有五天?冲刺营三!那明天不是很能摆。H_Kaguya说他不太管rating结果掉到1300了,我倒是凭借着一道数据结构调一场调不出来就不交了保持......
  • 4.28代码大全读后感3
    最近在《代码大全》这本书,包括的内容非常多,从软件设计到代码开发,团队管理都有,更像是一个软件编程领域的百科全书.但是,对于书中提到的一点印象最为深刻,其实在《人月神话》和《卓有成效的程序员》这两本书都有提到,那就是:软件设计与开发的核心就在于控制复杂......
  • 题目集4~6的总结性Blog2
    目录1、前言2、设计与分析3、踩坑心得4、改进建议5、总结题目集4:1、菜单计价程序-32、有重复数据3、去掉重复数据4、单词系统与排序5、面向对象编程(封装性)6、GPS测绘中度分秒转换7、判断两个日期的先后、计算间隔天数、周数 题目集5:1、正则......
  • 4.28打卡
    #include<iostream>#include<iomanip>#include<cmath>usingnamespacestd;intfun2(intm){returnm*m;}intfun1(intx,inty){returnfun2(x)+fun2(y);}intmain(){inta,b;cout<<"pleaseentertwointeger......
  • 每日总结 4.28
    今天进行了一天的课程,进行了较少的代码编写。Stringtime=request.getParameter("time");d.buhuo(name,sum,mphone);d.gx(mer,time,mphone,name);response.setContentType("text/html;charset=utf-8");PrintWriter......
  • 对Java课程PTA4-6题目集的反思与总结
     前言:三次题目集一共涵盖了以下知识点:面向对象编程的封装性,List-Arrays方法的使用,强制类型转换的方法,字符串的处理,字符串截断方法split的使用,对象数组的建立以及使用,Java源码自带的多种日期类方法的使用,各种正则表达式及其运用,运用聚合的方法自行写日期类,综合运用现学的所......
  • 4.28
    #include<iostream>usingnamespacestd;#include<string>classmother{public:   mother()   {       cout<<"mother\n";   }};classdaughter:publicmother{public:   daughter()   {       cout<<"......