- 博客(11)
- 收藏
- 关注
原创 Springboot数据库日志logback的sql脚本
# Logback: the reliable, generic, fast and flexible logging framework.# Copyright (C) 1999-2010, QOS.ch. All rights reserved.## See http://logback.qos.ch/license.html for the applicable licensing # conditions.# This SQL script creates the required ta
2021-08-03 10:06:32
165
原创 springboot依赖
<!-- 导入springboot版本和框架依赖 --><parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.2</version></parent><!-- 导入动
2021-07-30 10:00:36
443
原创 数据源配置文件
jdbc.driver:com.mysql.cj.jdbc.Driverjdbc.url:jdbc:mysql:///mybatis?serverTimezone=GMT%2B8jdbc.username:rootjdbc.password:0405
2021-07-29 15:35:16
180
原创 SSM整合之springmvc.xml
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:xsi="h
2021-07-17 17:16:50
128
原创 SSM配置文件之applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="ht
2021-07-17 17:12:08
241
原创 SSM整合中web.xml的配置
<!--配置父容器--> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext.xml</param-value> </context-param> <listener> <...
2021-07-17 15:36:42
123
原创 SSM整合所需要的依赖
<dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.2.9.RELEASE</version> </dependency> <depen...
2021-07-17 15:34:50
157
原创 Spring中dao层的配置
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="ht
2021-07-11 19:48:42
365
原创 Mybatis映射文件头
<?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"><mapper namespace="所需映射的接口的全路径名"></mapper>
2021-07-10 14:08:36
264
原创 Mybatis主配置文件
<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"><!--mybatis的主配置文件--><configuration> <!--引入外部的数据源配置信息
2021-07-10 14:01:28
246
原创 java跨域过滤器解决vue前后端分离跨域问题
java跨域过滤器解决vue前后端分离跨域问题package com.yoso.filter;import javax.servlet.*;import javax.servlet.annotation.WebFilter;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import java.io.IOException;/**@author yuluo
2021-07-09 20:38:59
203
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人