07 2022 档案

摘要://【第二步】使用Spring整合Junit专用的类加载器 @RunWith(SpringJUnit4ClassRunner.class) //【第三步】加载配置文件或者配置类 @ContextConfiguration(classes = {SpringConfiguration.class}) 阅读全文
posted @ 2022-07-31 11:39 linxiaofeng 阅读(65) 评论(0) 推荐(0) 编辑
摘要:spring基础 <!--导入spring的坐标spring-context,对应版本是5.2.10.RELEASE--> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifact 阅读全文
posted @ 2022-07-29 11:46 linxiaofeng 阅读(166) 评论(0) 推荐(0) 编辑
摘要:<dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.62</version> </dependency> 阅读全文
posted @ 2022-07-20 20:14 linxiaofeng 阅读(247) 评论(0) 推荐(0) 编辑
摘要:/* axios v0.18.0 | (c) 2018 by Matt Zabriskie */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeo 阅读全文
posted @ 2022-07-20 11:03 linxiaofeng 阅读(39) 评论(0) 推荐(0) 编辑
摘要:这是AJAX xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET", "http://localhost:8080/AJAXServlet", true); xmlhttp.send(); xmlhttp.onreadystatechange = fu 阅读全文
posted @ 2022-07-20 10:38 linxiaofeng 阅读(26) 评论(0) 推荐(0) 编辑
摘要:7.1 原理 浏览器如果能够解析目标资源,则直接打开;如果不能解析,则出现下载 7.2 如何实现下载 告知浏览器不要解析目标资源,那么这个目标资源就会被下载 //告知浏览器不要解析目标资源 response.setHeader("Content-Disposition","attachment;fi 阅读全文
posted @ 2022-07-15 13:42 linxiaofeng 阅读(111) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- CONSOLE :表示当前的日志信息是可以输出到控制台的。 --> <appender name="Console" class="ch.qos.logback.core.Cons 阅读全文
posted @ 2022-07-15 10:37 linxiaofeng 阅读(319) 评论(0) 推荐(0) 编辑
摘要:这是mybatis-config.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/d 阅读全文
posted @ 2022-07-15 10:35 linxiaofeng 阅读(128) 评论(0) 推荐(0) 编辑
摘要:<!--jsp插件 --> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.2</version> <scope>provided</scope> </depe 阅读全文
posted @ 2022-07-15 10:17 linxiaofeng 阅读(202) 评论(0) 推荐(0) 编辑
摘要:<!-- 导入依赖 --> <!-- 一定要复制,不要手敲 --> <!--mybatis 依赖--> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.5</versi 阅读全文
posted @ 2022-07-14 17:56 linxiaofeng 阅读(416) 评论(2) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <m 阅读全文
posted @ 2022-07-14 17:37 linxiaofeng 阅读(241) 评论(0) 推荐(0) 编辑
摘要:创建图示目录,并且把以下代码放入web.xml文件中 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/200 阅读全文
posted @ 2022-07-13 20:21 linxiaofeng 阅读(348) 评论(0) 推荐(0) 编辑
摘要:String resource = "mybatis-config.xml"; InputStream inputStream = Resources.getResourceAsStream(resource); SqlSessionFactory sqlSessionFactory = new S 阅读全文
posted @ 2022-07-13 17:19 linxiaofeng 阅读(80) 评论(1) 推荐(0) 编辑
摘要:<!--servlet依赖--> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> <scope>provided</sc 阅读全文
posted @ 2022-07-13 17:14 linxiaofeng 阅读(43) 评论(0) 推荐(0) 编辑
摘要:<!--tomcat7的依赖--> <build> <plugins> <!--Tomcat插件 --> <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> 阅读全文
posted @ 2022-07-13 17:13 linxiaofeng 阅读(162) 评论(0) 推荐(0) 编辑
摘要:字体属性:(font) 大小 {font-size: x-large;}(特大) xx-small;(极小) 一般中文用不到,只要用数值就可以,单位:PX、PD 样式 {font-style: oblique;}(偏斜体) italic;(斜体) normal;(正常) 行高 {line-heigh 阅读全文
posted @ 2022-07-13 17:06 linxiaofeng 阅读(45) 评论(0) 推荐(0) 编辑
摘要:HTML常用标签及其全称 <a href="#">a 超级链接(anchor)</a> <abbr title="abbreviation的简写">abbr 简写的(abbreviation)</abbr> <acronym title="Jin Hua Tang is JHT">acronym 首 阅读全文
posted @ 2022-07-13 16:48 linxiaofeng 阅读(12) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示