11 2019 档案
摘要:. ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|
阅读全文
摘要:题目链接:https://leetcode-cn.com/problems/reverse-vowels-of-a-string/ 代码: class Solution { public String reverseVowels(String s) { Character[] c = {'a','e
阅读全文
摘要:一、什么是跨域 跨域是浏览器对JavaScript同源策略的限制 二、什么情况下会产生跨域 域名不同 wwww.baidu.com www.jd.com 域名相同,访问的端口不同 wwww.baidu.com:8080 wwww.baidu.com:8081 一级域名相同,二级域名不用 map.ba
阅读全文
摘要:题目链接:https://leetcode-cn.com/problems/sum-of-square-numbers/submissions/ 代码: class Solution { public boolean judgeSquareSum(int c) { long a=0; long b=
阅读全文
摘要:题目链接:https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted/ 代码: class Solution { public int[] twoSum(int[] numbers, int target) { int i =
阅读全文
摘要:com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect at com.sun.jersey.client.apache4.ApacheHttpCl
阅读全文
摘要:hystrix的熔断时间默认为1秒,这对于一个要部署的服务器来说太短了,所以可以把这个时间设置大一点 这个时间设置在yml中没有提示,下面是设置的代码: hystrix: command: default: execution: isolation: thread: timeoutInMillise
阅读全文
摘要:在向Oracle数据库里面插入数据时发生了以下错误 ; ]; ORA-02291: 违反完整约束条件 (SSM.SYS_C0011830) - 未找到父项关键字 ; nested exception is java.sql.SQLIntegrityConstraintViolationExcepti
阅读全文
摘要:1.先引入secrity的标签库 <%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %> 2.获取值 <security:authentication property="principal
阅读全文

浙公网安备 33010602011771号