- 博客(7)
- 收藏
- 关注
原创 spring框架配置
1.applicationContext文件配置<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/c
2021-04-16 10:47:02
145
原创 jsp在线引入标签样式
1.设置head内容<head> <title> title </title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"></head>头部标签解释2.head标签内引入jquery <script src="https://cdn.staticfile
2021-04-14 23:36:05
269
1
原创 ssm搭建环境(spring,springmvc,mybatis)
1.添加依赖(pom.xml) <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target>
2021-04-02 10:45:18
154
1
原创 mybatis 数据库框架配置(mysql8.0)
1.配置文件:jdbc.propertiesjdbc.driver=com.mysql.cj.jdbc.Driverjdbc.url=jdbc:mysql:///liuyu?characterEncoding=utf8&useUnicode=true&useSSL=false&serverTimezone=Hongkongjdbc.username=rootjdbc.password=1232.在mybatis.xml中引入jdbc.propertie文件<
2021-04-01 19:28:52
316
原创 Maven常用依赖pom.xml
1.单元测试工具 junit(高于4.10版本还需要hamcrest-core.jar + hamcrest-library.jar)<dependency><groupId>junit</groupId><artifactId>junit</artifactId><version>${junit.version}</version></dependency><!-- ..
2021-03-27 23:26:32
430
原创 Filter 中文乱码过滤器
@WebFilter(filterName = "zhongf",urlPatterns = "/*")public class ZhongwenFilter implements Filter { public void init(FilterConfig config) throws ServletException { } public void destroy() { } @Override public void doFilter(Serv.
2021-03-23 17:19:22
118
原创 spring事务约束配置
spring事务约束配置<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmln...
2021-03-22 21:25:09
338
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅