华为NetEco北向接口登录鉴权接口Response为Null原因
摘要:华为NetEco北向接口登录鉴权接口Response为Null原因 开发前我们一般会通过RestClient或Postman等工具测试接口的可用性,按官方文档测试登录鉴权接口发现返回为Null。这是因为接口默认是需要SSL检验的,老版本的RestClient没有关闭SSL验证的设置,所以需要用支持关
阅读全文
posted @
2021-01-14 22:22
Simle
阅读(578)
推荐(0) 编辑
curl常见用法
摘要:查看网页源码 curl www.sina.com 只显示http response的头信息 curl -I www.sina.com 发送表单信息(GET) curl example.com/form.cgi?data=xxx 发送表单信息(POST) curl -X POST --data "da
阅读全文
posted @
2021-01-12 22:48
Simle
阅读(86)
推荐(0) 编辑
开发中常用的国内镜像(持续更新)
摘要:Python Maven 参考链接 "阿里云官方镜像站"
阅读全文
posted @
2020-04-18 22:58
Simle
阅读(422)
推荐(0) 编辑
Git常用操作
摘要:克隆仓库 git clone path 标记提交 git add FileOrDir 正式提交(并添加注释) git commit FileOrDir -m "note" 推送至远程库 git push origin 查看本地库状态 git status 创建分支 git branch newBra
阅读全文
posted @
2018-05-14 14:00
Simle
阅读(146)
推荐(0) 编辑
开发工作中提高效率的一些方式
摘要:1.Windows下自动更换JAVA_HOME环境变量批处理脚本(切换不同版本的JDK) echo %JAVA_HOME% wmic ENVIRONMENT where "name='JAVA_HOME' and username='<system>'" set VariableValue="D:\
阅读全文
posted @
2018-05-11 10:14
Simle
阅读(215)
推荐(0) 编辑
Chrome Plugin Recommendation
摘要:1.AdBlock 拦截广告神器 2.IPBlade 变更IP地址,使你自由 3.JSON-handle 让接口返回的JSON数据更好看 4.Proxy SwitchyOmega 变更浏览器代理 5.Pocket 喜欢的网页可以保存下来随后查看 6.一键管理所有扩展 所有插件,想开就开,相关就关 7
阅读全文
posted @
2018-04-30 09:53
Simle
阅读(182)
推荐(0) 编辑
关于Lucene,你至少要知道的事
摘要:1.是什么? 全文搜索引擎 2.干什么? 实现网站全文检索功能(自带语法高亮功能) 3.原理? Lucene生成索引(语法解析后,生成索引文件)-根据索引进行查询(语法解析后,根据解析后的结果进行查询) 4.中文分词解析器 smartcn(用于中文词法解析器) 5.查看Lucene索引文件小工具 h
阅读全文
posted @
2018-04-02 09:29
Simle
阅读(121)
推荐(0) 编辑
Eclipse遇坑记录
摘要:1.安装Ivy插件 插件地址:http://ant.apache.org/ivy/ivyde/download.cgi 在线安装提示成功,但是配置窗口并未显示Ivy相关配置,随后利用手动安装重启即可 2.安装 OpenExplorer插件(新版取消的右键文件在资源管理器中打开) 插件地址:https
阅读全文
posted @
2017-12-01 15:32
Simle
阅读(230)
推荐(0) 编辑
Git相关安装包打包下载
摘要:Git相关软件偶尔需要KX上网才能下载,故分享于此 1.Git-2.15.0-64-bit.exe 2.TortoiseGit-2.5.0.0-64bit.msi 3.TortoiseGit-LanguagePack-2.5.0.0-64bit-zh_CN.msi 4.GitHubDesktopSe
阅读全文
posted @
2017-11-30 09:51
Simle
阅读(2754)
推荐(0) 编辑
开发中常用的网页小工具
摘要:一、术业有专攻 1.cron校验及生成工具 http://tool.oschina.net/regex 2.json格式化校验工具 http://www.json.cn/ 3.正则表达式校验工具 http://cron.qqe2.com/ 4.在线颜色选择器 http://www.atool.org
阅读全文
posted @
2017-11-27 17:05
Simle
阅读(220)
推荐(0) 编辑
Eclipse远程调试
摘要:1.准备远程主机IP及端口 2.需要调试的本地项目右键,选择【Debug as】-【Debug configurations】 配置完成后点击debug即可进入断点 Ps 本地代码必须与服务器class代码保持一致,否则可能导致进不了断点
阅读全文
posted @
2017-08-25 16:41
Simle
阅读(140)
推荐(0) 编辑
Beetl使用注意事项
摘要:1.如果表达式跟定界符或者占位符有冲突,可以在用 “\” 符号 @for(user in users){ email is ${user.name}\@163.com @} ${[1,2,3]} //输出一个json列表 ${ {key:1,value:2 \} } //输出一个json map,}
阅读全文
posted @
2016-10-27 22:02
Simle
阅读(9800)
推荐(1) 编辑
web.xml(spring/spring mvc/hibernate)
摘要:<?xml version="1.0" encoding="UTF-8"?> <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001
阅读全文
posted @
2016-01-27 17:14
Simle
阅读(269)
推荐(0) 编辑
我被eclipse的tomcat坑的经历
摘要:奇怪的乱码问题: 1.jsp页面utf-8 2.java代码utf-8 3.数据库编码utf-8 4.tomcat server.xml配置URIEncoding="UTF-8" 前台传入后台的数据一直为乱码 解决方法: eclipse是使用自己自带的tomcat(虽然你可以将这个tomcat的路径
阅读全文
posted @
2016-01-26 17:05
Simle
阅读(277)
推荐(0) 编辑
hibernate分页实现
摘要:1.创建分页实体类 public class PageBean { private int page; // 页码 private int rows; // 每页显示行数 private int start; // 某一页从第几条开始 public PageBean(int page, int ro
阅读全文
posted @
2016-01-20 21:12
Simle
阅读(233)
推荐(0) 编辑
web开发工具类
摘要:1.日期工具类 import java.text.SimpleDateFormat; import java.util.Date; public class DateUtil { public static String formatDate(Date date,String format){ St
阅读全文
posted @
2016-01-20 21:02
Simle
阅读(252)
推荐(0) 编辑
S2SH项目框架搭建(完全注解)
摘要:1.引入相关jar包 2.配置Spring配置文件,命名为applicationContext.xml(配置好后放到src目录下) <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.
阅读全文
posted @
2016-01-20 20:58
Simle
阅读(428)
推荐(0) 编辑
页面用汉字查询后台乱码解决方案
摘要:修改apache-tomcat-7.0.52\conf 目录下server.xml文件 <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-
阅读全文
posted @
2015-11-19 10:03
Simle
阅读(205)
推荐(0) 编辑
java properties 文件中书写相对路径
摘要:工程src下的properties 文件要引用发布到D:\work\apache-tomcat-7.0.52\webapps\项目名称\certs这个地址下的文件,properties 中的文件路径应该如下书写 path=\certs\文件名.后缀名
阅读全文
posted @
2015-07-06 16:45
Simle
阅读(2553)
推荐(0) 编辑
Tomcat服务器配置文件uri编码设置
摘要:<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/>
阅读全文
posted @
2015-06-29 15:53
Simle
阅读(298)
推荐(0) 编辑