随笔分类 -  spring相关

摘要:Spring MVC注解 1. @Controller 与Spring的controller注解作用一致,注册一个bean到spring上下文中。 2. @RequestMapping 控制器可以指定的URL请求。 3. @RequestBody 用于读取Request请求的body部分数据,使用系 阅读全文
posted @ 2020-03-14 17:16 lijiahaoAA 阅读(190) 评论(0) 推荐(0)
摘要:副配置类文件:JdbcConfig package com.itheima.config;import org.springframework.beans.factory.annotation.Value;import org.springframework.context.annotation.B 阅读全文
posted @ 2020-02-09 21:24 lijiahaoAA 阅读(242) 评论(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-ins 阅读全文
posted @ 2020-02-09 19:42 lijiahaoAA 阅读(386) 评论(0) 推荐(0)
摘要:配置文件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 阅读全文
posted @ 2020-02-09 18:42 lijiahaoAA 阅读(220) 评论(0) 推荐(0)
摘要:配置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 阅读全文
posted @ 2020-02-09 12:00 lijiahaoAA 阅读(326) 评论(0) 推荐(0)
摘要:实体类 package com.itheima.domain;import java.io.Serializable;/** * @Author: lijiahao * @Description: 账户的实体类 * @Data: Create in 1:32 2020/2/9 * @Modified 阅读全文
posted @ 2020-02-09 02:52 lijiahaoAA 阅读(470) 评论(0) 推荐(0)
摘要:实体类 package com.itheima.domain;import java.io.Serializable;/** * @Author: lijiahao * @Description: 账户的实体类 * @Data: Create in 1:32 2020/2/9 * @Modified 阅读全文
posted @ 2020-02-09 02:29 lijiahaoAA 阅读(190) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2020-02-08 22:34 lijiahaoAA 阅读(192) 评论(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-08 22:05 lijiahaoAA 阅读(331) 评论(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-08 19:48 lijiahaoAA 阅读(412) 评论(0) 推荐(0)
摘要:package com.itheima.cglib;import com.itheima.proxy.IProducer;import com.itheima.proxy.Producer;import com.sun.webkit.dom.ProcessingInstructionImpl;imp 阅读全文
posted @ 2020-02-07 22:37 lijiahaoAA 阅读(279) 评论(0) 推荐(0)
摘要:package com.itheima.proxy;import java.awt.geom.FlatteningPathIterator;import java.lang.reflect.InvocationHandler;import java.lang.reflect.Method;impor 阅读全文
posted @ 2020-02-07 22:20 lijiahaoAA 阅读(278) 评论(0) 推荐(0)
摘要:package com.itheima.test;import com.itheima.domain.Account;import com.itheima.service.IAccountService;import config.JdbcConfig;import config.SpringCon 阅读全文
posted @ 2020-02-06 19:06 lijiahaoAA 阅读(350) 评论(0) 推荐(0)
摘要:package config;import com.mchange.v2.c3p0.ComboPooledDataSource;import org.apache.commons.dbutils.QueryRunner;import org.springframework.context.annot 阅读全文
posted @ 2020-02-06 18:42 lijiahaoAA 阅读(150) 评论(0) 推荐(0)
摘要:package com.itheima.service.impl;import com.itheima.dao.IAccountDao;import com.itheima.dao.impl.AccountDaoImpl;import com.itheima.service.IAccountServ 阅读全文
posted @ 2020-02-05 23:58 lijiahaoAA 阅读(149) 评论(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-05 17:33 lijiahaoAA 阅读(136) 评论(0) 推荐(0)