摘要: <!--springmvc提供的解决post/get请求参数中文乱码问题--><filter> <filter-name>encoding</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilt 阅读全文
posted @ 2020-02-29 23:48 帅的土掉渣 阅读(459) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_33216840/article/details/86508377 阅读全文
posted @ 2020-02-29 01:09 帅的土掉渣 阅读(460) 评论(0) 推荐(0) 编辑
摘要: Tomcat启动报错 java.lang.ClassNotFoundException: org.apache.jsp.index_jsp 这个问题是因为tomcat在启动过程中jsp和servlet的jar包出了问题。1. 如果你是用的maven,呢么你就看看有没有Jsp,Servlet,Jstl 阅读全文
posted @ 2020-02-25 22:08 帅的土掉渣 阅读(9585) 评论(0) 推荐(0) 编辑
摘要: <!--pom.xml引入jar包--><dependency> <groupId>com.mchange</groupId> <artifactId>c3p0</artifactId> <version>0.9.5.5</version></dependency> <?xml version="1 阅读全文
posted @ 2020-02-23 23:06 帅的土掉渣 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 使用Spring管理事务,注意头文件的约束导入 : tx xmlns:tx="http://www.springframework.org/schema/tx" http://www.springframework.org/schema/tx http://www.springframework.o 阅读全文
posted @ 2020-02-23 21:15 帅的土掉渣 阅读(151) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.d 阅读全文
posted @ 2020-02-23 18:46 帅的土掉渣 阅读(711) 评论(0) 推荐(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 @ 2020-02-23 18:45 帅的土掉渣 阅读(455) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> 阅读全文
posted @ 2020-02-18 17:26 帅的土掉渣 阅读(4334) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-02-17 20:02 帅的土掉渣 阅读(630) 评论(0) 推荐(0) 编辑
摘要: <!--在父工程或者每个子模块的pom.xml配置文件中添加以下配置 。--><build> <!--配置打包时不过滤非java文件开始 --> <!--说明,在进行模块化开发打jar包时,maven会将非java文件过滤掉, xml,properties配置文件等,但是这些文件又是必需的, 使用此 阅读全文
posted @ 2020-02-17 19:57 帅的土掉渣 阅读(335) 评论(0) 推荐(0) 编辑