- 博客(6)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 Spring 注解中,普通类获取@Service标记的方法 或者bean对象
package util;import org.springframework.context.ApplicationContext;import org.springframework.context.support.ClassPathXmlApplicationContext;public class SpringUtil { private SpringUtil...
2018-07-19 00:38:48
5369
原创 windows命令行下redis读取中文字符乱码
启动cmd命令行,输入chcp 65001(是utf-8格式)再输入命令redis-cli --raw启动客户端,查找userName的值,可以看见是中文的了~
2019-08-13 09:42:20
631
原创 wsimport生成webService客户端 指定编码格式
wsimport -encoding utf-8 -s F:\temp -p com.example.demo.wsdl -keep F:\temp\WeatherWS.wsdlwsimport -encoding utf-8 -keep -s D:\temp -p com.lawyer.user -verbose http://服务地址?wsdl-encoding : 指定编码格式...
2019-07-30 10:12:30
639
原创 android使用全局变量的两种方法
第一种方式public class MainApplication extends Application { private static MainApplication mApp; public HashMap<String, Object> infoMap = new HashMap<String, Object>(); publi...
2019-07-04 16:35:56
7510
转载 LayoutInflater.from这个方法什么意思
从一个Context中,获得一个布局填充器,这样你就可以使用这个填充器来把xml布局文件转为View对象了。//加载布局管理器LayoutInflater inflater = LayoutInflater.from(context);//将xml布局转换为view对象convertView = inflater.inflate(R.layout.item_myseallist,pa...
2019-01-24 10:41:42
1233
原创 基于elementUI的Vue 中 el-form 嵌套 el-table的写法
前端页面:前端vue代码:<el-form :model="ruleForm" :rules="rules" ref="ruleForm"> <el-table :data="ruleForm.evidenceTemplateList" stripe border style="width: 100%" size="mini&quo
2019-01-11 08:25:49
17625
8
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人