随笔分类 -  java

摘要:public class HttpRequestDeviceUtils { /** Wap网关baiVia头信du息中特有的描述信息 */ private static String[] mobileGateWayHeaders = new String[] { "ZXWAP", // 中兴提供的w 阅读全文
posted @ 2020-09-25 11:03 simplelifezp 阅读(379) 评论(0) 推荐(0) 编辑
摘要:1、使用add的时候 Calendar calendar=Calendar.getInstance(); calendar.add(Calendar.MONTH,-1); SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); St 阅读全文
posted @ 2020-09-24 17:41 simplelifezp 阅读(199) 评论(0) 推荐(0) 编辑
摘要:import java.util.concurrent.ExecutorService;import java.util.concurrent.Executors; int each_thread = 5000;#每个线程处理数据数int count = 500;#总数据量 ExecutorServ 阅读全文
posted @ 2020-09-24 17:23 simplelifezp 阅读(166) 评论(0) 推荐(0) 编辑
摘要:在开发web程序的时候,有时我们需要得到用户是从什么页面连过来的,这就用到了referer。 它是http协议,所以任何能开发web程序的语言都可以实现,比如jsp中是: request.getHeader("referer"); php是$_SERVER['HTTP_REFERER']。其他的我就 阅读全文
posted @ 2020-09-24 17:10 simplelifezp 阅读(163) 评论(0) 推荐(0) 编辑
摘要:原博客 (1)修改pom.xml文件,引入jar包 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= 阅读全文
posted @ 2020-09-24 17:09 simplelifezp 阅读(157) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示