上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: https://www.cnblogs.com/GuoYaxiang/p/6931264.html 阅读全文
posted @ 2019-11-21 17:32 M_x_j 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 当对自己定义的数据结构需要进行指定排序的时候,java中给了我们两个接口Comparable和Comparator 第一种:实现Comparator<T>接口 第二种: 第三种:要排序的类实现Comparable<T>接口 在设计初时有需求就选择Comparable,若后期需要扩展或增加排序需求时, 阅读全文
posted @ 2019-09-30 10:24 M_x_j 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 正则表达式语法 阅读全文
posted @ 2019-09-22 20:34 M_x_j 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Java中的Stack类和Queue接口 阅读全文
posted @ 2019-09-21 13:22 M_x_j 阅读(278) 评论(0) 推荐(0) 编辑
摘要: Linux各目录及每个目录的详细介绍 阅读全文
posted @ 2019-09-10 15:36 M_x_j 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 修改pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.a 阅读全文
posted @ 2019-08-12 00:11 M_x_j 阅读(181) 评论(0) 推荐(0) 编辑
摘要: (1)@SpringBootApplication 代表SpringBoot的启动类 (2)@SpringBootConfiguration 通过bean对象来获取配置信息 (3)@Configuration 通过对bean对象的操作,替代spring中xml文件 (4)@EnableAutoCon 阅读全文
posted @ 2019-08-08 11:52 M_x_j 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1.Demo (1)pom.xml文件 (2)配置Controller (3)编写启动器 注意:启动器存放的位置可以和Controller位于同一个包下,或者位于Controller的上一级包中,但是不能放在Controller的平级以及子包下 2.SpringBoot整合Servlet (1)通过 阅读全文
posted @ 2019-08-02 09:53 M_x_j 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 加"/"是绝对路径, 不加"/"是相对路径。假设你的这个html文件的路径是www.example.com/path/to/html/a.html,那么src="/js/ibanner.js"指向www.example.com/js/ibanner.js, src="js/ibanner.js"指向 阅读全文
posted @ 2019-07-31 11:23 M_x_j 阅读(882) 评论(0) 推荐(0) 编辑
摘要: 1.SpringMVC中重要组件 (1)DispatcherServlet:前端控制器,接收所有请求(如果配置/不包含jsp) (2)HandlerMapping:解析请求格式,判断希望执行哪个方法 (3)HandlerAdapter:负责调用具体的方法 (4)ViewResovler:视图解析器, 阅读全文
posted @ 2019-07-30 20:00 M_x_j 阅读(220) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页