curl http://localhost:6800/schedule.json -d project=default -d spider=somespider shell 命令请求转换为python 请求: request.post('http://localhost:6800/schedule. ...
分类:
其他好文 时间:
2020-07-03 00:38:20
阅读次数:
54
ABP框架 v3.0 已发布 我们很高兴地宣布,ABP框架和ABP商业版3.0版已经发布.与常规的2周发布一个版本不同的是, 这个版本用了4周的时间.关闭了119个issue,合并了89个pull request 和主框架仓库中的798次提交. 由于这是一个主要版本,它也包括了一些重大更改.不要害怕 ...
分类:
其他好文 时间:
2020-07-02 18:15:43
阅读次数:
48
Servlet:处理Request请求和Response响应 过滤器 过滤器(Filter):对Request请求起到过滤的作?,作?在Servlet之前,如果配置为/*可以对所 有的资源访问(servlet、 js/css静态资源等)进?过滤处理 监听器 监听器(Listener):实现了java ...
分类:
其他好文 时间:
2020-07-02 16:22:49
阅读次数:
63
el表达式中的${param}? 1. 2. ${param.name} 等价于 request.getParamter("name"),这两种方法一般用于服务器从页面或者客户端获取的内容。 ${requestScope.name} 等价于 request.getAttribute("name"), ...
分类:
其他好文 时间:
2020-07-02 16:12:02
阅读次数:
56
先在拦截器里执行方法看一看结果 System.out.println("getRequestURI:"+request.getRequestURI()); System.out.println("getRequestURL:"+request.getRequestURL()); System.out ...
分类:
Web程序 时间:
2020-07-02 13:08:15
阅读次数:
62
怎么打印日志 ? 开发中好的日志打印方式,可以提高我们debug速度,线上故障得时候也可以快速定位问题。 ? 怎么打印日志呢? 基本格式: ? 1:必须使用参数化信息的方式: logger.debug("[xxService]Processing trade with id:[{}] and sym ...
分类:
其他好文 时间:
2020-07-01 23:57:05
阅读次数:
105
(一)问题:json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) (二)原因:request的GET请求/POST请求,反作用域为空的异常未考虑 (三)代码描述:未做空返回判断,我是因为调用的接口函数错误导致。 ...
分类:
编程语言 时间:
2020-07-01 20:18:56
阅读次数:
113
model_path=/home/henan_output_dir/frozen_inference_graph.pbpbtxt_path=/home/henan_output_dir/ssd_mobilenet_v1.pbtxtobject_name_path=/home/henan_output ...
分类:
其他好文 时间:
2020-07-01 20:15:07
阅读次数:
39
Response.Write("客户端计算机名:" + Request.UserHostName + "<BR />"); Response.Write("客户端IP:" + Request.UserHostAddress + "<BR />"); Response.Write("浏览器:" + R ...
分类:
Web程序 时间:
2020-07-01 20:12:20
阅读次数:
70
前言在SpringMvc后台进行获取数据,一般有三种:1.request.getParameter(“参数名”)2.用@RequestParam注解获取3.Springmvc默认支持的数据类型接收参数,可直接通过controller方法参数对应jsp中请求参数name直接获取 关于springmvc ...
分类:
其他好文 时间:
2020-07-01 16:02:28
阅读次数:
94