摘要: <?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 阅读(322) 评论(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 阅读(137) 评论(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 阅读(212) 评论(0) 推荐(0)
摘要: <!-- 导入依赖 --> <!-- 一定要复制,不要手敲 --> <!--mybatis 依赖--> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.5</versi 阅读全文
posted @ 2022-07-14 17:56 linxiaofeng 阅读(439) 评论(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 阅读(260) 评论(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 阅读(395) 评论(0) 推荐(0)
摘要: String resource = "mybatis-config.xml"; InputStream inputStream = Resources.getResourceAsStream(resource); SqlSessionFactory sqlSessionFactory = new S 阅读全文
posted @ 2022-07-13 17:19 linxiaofeng 阅读(84) 评论(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 阅读(49) 评论(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 阅读(166) 评论(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 阅读(49) 评论(0) 推荐(0)