会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
remix_alone
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
25
下一页
2021年11月20日
SpringMVC——方法映射
摘要: 简介 Spring-MVC:通过servlet拦截请求,对请求作设置来访问真实资源。 使用 1.通过servlet拦截请求。 2.扫描spring-mvc.xml加载配置注解的Controller 1.通过servlet拦截请求。 <!-- 配置Spring-mvc的servlet --> <ser
阅读全文
posted @ 2021-11-20 09:28 remix_alone
阅读(429)
评论(0)
推荐(0)
2021年11月19日
Spring——集成Web环境
摘要: 简介 Spring集合Web环境:通过Listener自动创建ApplicationContext,并放入ServletContext中。通过这样不用每次都new ApplicationContext() 操作 1. web.xml中配置ContextLoaderListener监听器,监听Web启
阅读全文
posted @ 2021-11-19 17:57 remix_alone
阅读(39)
评论(0)
推荐(0)
Spring——占位
摘要: dd
阅读全文
posted @ 2021-11-19 17:55 remix_alone
阅读(16)
评论(0)
推荐(0)
Spring——配置数据源
摘要: 简介 通过<bean> 标签配置数据源 原来,<bean>标签本质上将对象加载到Spring容器里。用<property name="" value=""> 对该对象get/set方法设置。 CombopoolDataSource有setUrl,setDriver,setUser,setPasswo
阅读全文
posted @ 2021-11-19 17:54 remix_alone
阅读(68)
评论(0)
推荐(0)
Spring——个人理解1
摘要: Spring是一个存储Bean的容器。但不像AndroidStudio那样自动化,需要编写applicationContext.xml // 标签配置方式 对于bean标签需要找到和标记。 class,id 对于property标签需要找到和赋值 -- name,value(ref) // 注解配置
阅读全文
posted @ 2021-11-19 11:37 remix_alone
阅读(28)
评论(0)
推荐(0)
2021年11月18日
Fiddler——基础
摘要: 简介 配置 1. 开关。 file--f12 2. Https抓包的设置。tools-Https-全部勾选 3.下周fiddler的调试证书。 127.0.0.1:8080。 双击证书,一路安装。再在https-option-action-Trush-yes。(抓取https请求) (这一步很重要,
阅读全文
posted @ 2021-11-18 13:26 remix_alone
阅读(46)
评论(0)
推荐(0)
2021年11月16日
Spring——集成Junit
摘要: 简介 Spring结合Junit测试只能在test包下! 原理:通过@ContextConfiguration()给test注入applicationContext。通过注解注入获取对象@RunWith(SpringJUnit4ClassRunner.class)@ContextConfigurat
阅读全文
posted @ 2021-11-16 20:39 remix_alone
阅读(21)
评论(0)
推荐(0)
Spring——注解
摘要: 简介 Spring作为容器,除了在xml配置对象。也可以通过注解配置对象。 注解 Spring的原始注解主要代替<Bean>的配置 @Component:使用在类上用于实例化Bean(Spring注入) @Controller:使用在web层类上用于实例化Bean @Service:使用在servi
阅读全文
posted @ 2021-11-16 20:21 remix_alone
阅读(41)
评论(0)
推荐(0)
2021年11月15日
Spring——bean标签
摘要: 简介 Spring:将对象配置到容器内,通过容器获取对象! 使用 1. Spring需要在resource中使用applicationContext.xml进行配置。 2. 编写Java类 2. 使用<bean>标签配置对象。 标签 <bean> 作用:在spring容器中配置对象。 属性 id:b
阅读全文
posted @ 2021-11-15 09:15 remix_alone
阅读(174)
评论(0)
推荐(0)
2021年11月13日
Android——自定义图形。(Canvas,Paint,Bitmap,PorterXFermode)
摘要: 简介 Android自定义图形利用View里onDraw(Canvas canvas)方法,重新绘制图形。 五步: 1. getWidth() , getHeight():获取组件的宽和高 2. 让背景变为白色 canvas.setRect(0,0,width,height,paint); 3. 获
阅读全文
posted @ 2021-11-13 20:16 remix_alone
阅读(231)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
25
下一页
公告