随笔分类 -  细枝末节

平时项目遇到的疑难杂症
摘要:最近需要混合压测, 需要按比例混压多个接口, 需要使用if controller, 直接写比较的函式就是不通, 关于if controller的使用, 网上找了一些资料, 发现在jmeter4.0+版本上面都不行, 只怪不喜欢看英文, 没仔细看提示, 见截图所示: 现在使用函数 __jexl3或者_ 阅读全文
posted @ 2018-10-28 11:19 Andrew213 阅读(657) 评论(0) 推荐(0)
摘要:1 @RequestMapping(value = "/redirect", method = RequestMethod.GET) 2 public void redirecttest(@RequestParam(value = "account",required=false) String account, 3 @Re... 阅读全文
posted @ 2018-10-06 20:26 Andrew213 阅读(3140) 评论(0) 推荐(0)
摘要:1. 确定Linux安装C/C++编译器,在线安装: yum install gcc gcc-c++ autoconf automake 2. 安装依赖环境: yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqli 阅读全文
posted @ 2018-10-03 20:05 Andrew213 阅读(1375) 评论(0) 推荐(0)
摘要:Django源码, 这里HttpResponseRedirect和HttpResponsePermanentRedirect没有太大差别,前者是返回302临时重定向,后者返回301永久重定向 小栗子: 阅读全文
posted @ 2018-10-03 16:24 Andrew213 阅读(1514) 评论(0) 推荐(0)
摘要:背景: 最近在项目中遇到一个小问题, 几行代码就能解决了 阅读全文
posted @ 2018-07-01 13:54 Andrew213 阅读(164) 评论(0) 推荐(0)
摘要:不同数据库需要去官网上面下载对应的驱动jar ,例如MySQL https://dev.mysql.com/downloads/connector/j/ properties文件 阅读全文
posted @ 2018-05-07 21:07 Andrew213 阅读(960) 评论(0) 推荐(0)
摘要:官网直接下载POI http://poi.apache.org/ 阅读全文
posted @ 2018-05-07 20:52 Andrew213 阅读(4966) 评论(0) 推荐(0)