08 2021 档案

摘要:package com.sun.config; import com.sun.interceptors.TestInterceptor; import org.springframework.context.annotation.Bean; import org.springframework.co 阅读全文
posted @ 2021-08-28 23:35 L1998 阅读(64) 评论(0) 推荐(0)
摘要:注:在SpringMVC.xml中将配置的 注释掉 阅读全文
posted @ 2021-08-28 21:34 L1998 阅读(16) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-08-28 15:25 L1998 阅读(25) 评论(0) 推荐(0)
摘要:一、服务器从浏览器获取传过来的请求体 1. <form th:action="@{/testRequestBody}" method="post"> <input type="text" name="username"> <input type="text" name="password"> <in 阅读全文
posted @ 2021-08-28 15:05 L1998 阅读(567) 评论(0) 推荐(0)
摘要:1.连续内存分配 1.1 内存碎片 1.2 分区的动态分配 (1)首次适配 (2)最优适配 (3)最差适配 减少上面3中算法中产生的内存碎片的算法: a.压缩式碎片整理 b.交换式碎片整理 2.非连续内存分配 2.1 为什么需要非连续内存分配 连续分配内存的缺点 2.2 分段 2.3 分页 2.3. 阅读全文
posted @ 2021-08-26 23:03 L1998 阅读(68) 评论(0) 推荐(0)
摘要:1.图的表示方式 邻接矩阵: 邻接链表 2.图的遍历 2.1 广度优先 public void bfs(boolean[] isVisted,int target){ int u;//存储队列头元素 int w; System.out.println(target+" >"); isVisted[t 阅读全文
posted @ 2021-08-26 15:07 L1998 阅读(24) 评论(0) 推荐(0)
摘要:1.RESTFul简介 2.RSTFul的实现 阅读全文
posted @ 2021-08-25 23:07 L1998 阅读(26) 评论(0) 推荐(0)
摘要:1. 2. 转发是发生在服务器内,重定向是发生在浏览器间的; 转发可以访问WEB-INFO下的内容,而重定向不行; 执行上面的代码,结果是,页面的地址栏中是“/testForWard”,显示的是success页面的内容 3. 执行这段代码,地址栏显示的是“/testThymeleafView”,显示 阅读全文
posted @ 2021-08-24 22:47 L1998 阅读(29) 评论(0) 推荐(0)
摘要://向application(ServletContext)域共享数据 @RequestMapping("/testApplication") public String testApplication(HttpSession session){ ServletContext application 阅读全文
posted @ 2021-08-23 20:12 L1998 阅读(52) 评论(0) 推荐(0)
摘要://向Session域共享数据 @RequestMapping("/testSession") public String testSession(HttpSession session){ session.setAttribute("testSessionScope","hello,Session 阅读全文
posted @ 2021-08-23 20:02 L1998 阅读(48) 评论(0) 推荐(0)
摘要:index.html 1 <!DOCTYPE html> 2 <html lang="en" xmlns:th="http://www.thymeleaf.org"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 </head> 阅读全文
posted @ 2021-08-23 19:54 L1998 阅读(118) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <title>传参测试页面</title> </head> <body> <a th:href="@{ 阅读全文
posted @ 2021-08-23 15:06 L1998 阅读(34) 评论(0) 推荐(0)