![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
作业
爱打球的程序员小雷
这个作者很懒,什么都没留下…
展开
-
SSM整合
1.Spring配置文件、Mybatis配置文件、SpringMVC配置文件<?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/co原创 2020-07-30 18:13:07 · 169 阅读 · 0 评论 -
SpringMVC
1.springmvc的配置文件和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:mvc="http://www.springframework.org/schema/mvc"原创 2020-07-25 16:12:46 · 106 阅读 · 0 评论 -
Spring4
1.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/conte原创 2020-07-25 12:31:43 · 140 阅读 · 0 评论 -
Spring3
1.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"原创 2020-07-24 20:08:33 · 118 阅读 · 0 评论 -
Spring2
练习11.编辑配置文件进行依赖注入<!-- p命名空间注入方式 --><bean class="com.oupeng.service.impl.UserServiceImpl" id="userService" p:str="哈哈" p:ud-ref="userdao"/>练习21.注解配置<!-- 增强处理类的配置(使用注解)--> <bean class="aop.afterLogger"></bean>原创 2020-07-23 23:07:57 · 189 阅读 · 0 评论 -
Spring1
练习11.spring配置文件:applicationContext.xml<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.spri原创 2020-07-23 22:32:33 · 114 阅读 · 0 评论 -
SpringMybatis3
练习1:1.数据访问层接口:BillMapperpackage com.leisong.dao;import com.leisong.domain.Bill;import java.util.List;public interface BillMapper { //根据商品名称,供应商id,是否付款 进行查询 public List<Bill> getBillByProName(Bill bill); //根据供应商id获取这些对应商的订单列表信息,数组作原创 2020-07-23 19:12:58 · 104 阅读 · 0 评论 -
SpringMybatis2
1.Mybatis配置文件:mybatis_config.xml<?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"><configuration> <properties原创 2020-07-23 18:35:17 · 141 阅读 · 0 评论 -
SpringMybatis1
1.实体类:Billpackage com.leisong.domain;import java.util.Date;public class Bill { private int id; private String billCode; private String productName; private String productDesc; private String productCount; private String totalPr原创 2020-07-23 18:19:21 · 87 阅读 · 0 评论