今天看项目日志,发现报这个异常。 是tomcat容器的问题,因为出现了特殊字符,所以报异常了。Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 398 ...
分类:
编程语言 时间:
2020-06-29 18:33:31
阅读次数:
97
<script> var b = { name : "333", say: function (func){ func(); }, prop:null } function deepClone(param){ let result = Array.isArray(param)?[]:{} if(pa ...
分类:
其他好文 时间:
2020-06-29 18:27:44
阅读次数:
61
重要的是理解霍夫圆变换过程:https://en.wikipedia.org/wiki/Circle_Hough_Transform import cv2 as cv im = cv.imread('../result_25k.png', cv.IMREAD_COLOR) im_gray = cv. ...
分类:
编程语言 时间:
2020-06-29 15:25:12
阅读次数:
131
异常描述: 解决方法: 安装nuget包:Microsoft.NET.Sdk.Razor 参考:https://stackoverflow.com/questions/55633137/assembly-location-for-razor-sdk-tasks-was-not-specified ...
分类:
其他好文 时间:
2020-06-29 15:20:25
阅读次数:
92
示例 @contextlib.contextmanager def result(a): print('before') yield print('after') 外层装饰源码 包装func函数,真实调用func()时,返回的为_GeneratorContextManager对象 def conte ...
分类:
其他好文 时间:
2020-06-29 13:42:44
阅读次数:
45
React不像Vue那样有router.beforeEach这样的路由钩子,但是它提供了一个组件:Prompt import { Prompt } from 'react-router-dom'; <Prompt when={true} message={location => '信息还没保存,确定 ...
分类:
其他好文 时间:
2020-06-29 13:25:25
阅读次数:
149
back_log 该值指出在MySQL暂时停止回答新请求之前的短时间内多少个请求可以被存在堆栈中。也就是说,如果MySql的连接数据达到max_connections时,新来的请求将会被存在堆栈中,以等待某一连接释放资源,该堆栈的数量即back_log,如果等待连接的数量超过back_log,将不被 ...
分类:
数据库 时间:
2020-06-29 11:33:59
阅读次数:
48
在jsp中获取数据库数据 <% Class.forName("com.mysql.jdbc.Driver");//加载mysql驱动 Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test1", "r ...
分类:
数据库 时间:
2020-06-29 09:37:42
阅读次数:
71
一、maven依赖 <!-- 操作sqlite数据库 start--> <!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc --> <dependency> <groupId>org.xerial</groupId> <art ...
分类:
数据库 时间:
2020-06-29 09:28:15
阅读次数:
69
在conftest.py中实现 # coding:utf-8 import pytest from datetime import datetime from py._xmlgen import html import pytest @pytest.mark.optionalhook def pyt ...
分类:
Web程序 时间:
2020-06-29 00:20:17
阅读次数:
212