随笔分类 - spring相关
摘要:Spring MVC注解 1. @Controller 与Spring的controller注解作用一致,注册一个bean到spring上下文中。 2. @RequestMapping 控制器可以指定的URL请求。 3. @RequestBody 用于读取Request请求的body部分数据,使用系
阅读全文
摘要:副配置类文件:JdbcConfig package com.itheima.config;import org.springframework.beans.factory.annotation.Value;import org.springframework.context.annotation.B
阅读全文
摘要:配置文件: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins
阅读全文
摘要:配置文件bean.xml <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSch
阅读全文
摘要:配置bean.xml <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchem
阅读全文
摘要:实体类 package com.itheima.domain;import java.io.Serializable;/** * @Author: lijiahao * @Description: 账户的实体类 * @Data: Create in 1:32 2020/2/9 * @Modified
阅读全文
摘要:实体类 package com.itheima.domain;import java.io.Serializable;/** * @Author: lijiahao * @Description: 账户的实体类 * @Data: Create in 1:32 2020/2/9 * @Modified
阅读全文
摘要:xml文件 <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins
阅读全文
摘要:<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
摘要:<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
摘要:package com.itheima.cglib;import com.itheima.proxy.IProducer;import com.itheima.proxy.Producer;import com.sun.webkit.dom.ProcessingInstructionImpl;imp
阅读全文
摘要:package com.itheima.proxy;import java.awt.geom.FlatteningPathIterator;import java.lang.reflect.InvocationHandler;import java.lang.reflect.Method;impor
阅读全文
摘要:package com.itheima.test;import com.itheima.domain.Account;import com.itheima.service.IAccountService;import config.JdbcConfig;import config.SpringCon
阅读全文
摘要:package config;import com.mchange.v2.c3p0.ComboPooledDataSource;import org.apache.commons.dbutils.QueryRunner;import org.springframework.context.annot
阅读全文
摘要:package com.itheima.service.impl;import com.itheima.dao.IAccountDao;import com.itheima.dao.impl.AccountDaoImpl;import com.itheima.service.IAccountServ
阅读全文
摘要:<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文

浙公网安备 33010602011771号