"window.location.href"、"location.href"是本页面跳转 "parent.location.href"是上一层页面跳转 "top.location.href"是最外层的页面跳转 举例说明: 如果A,B,C,D都是jsp,D是C的iframe,C是B的iframe,B是 ...
tengine安装、tengine实现域名访问、Haproxy访问不同路径对接不同集群
分类:
其他好文 时间:
2020-06-22 09:24:12
阅读次数:
67
这个是C语言当中常见的错误,意思是 对于输入的scanf参数的内容,没有进行类型判断,所以才会产生这个问题. 解决方法: 1、添加if判断方式 1 if(scanf("%d",&a)==1){ 2 // 成功继续执行其他代码 3 } View Code 2、其它类型判断方式扩展 1 if(scanf ...
分类:
其他好文 时间:
2020-06-22 01:57:11
阅读次数:
146
常用配置 热部署 配置依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </depen ...
分类:
编程语言 时间:
2020-06-22 01:27:22
阅读次数:
51
Description Your goal in this kata is to implement a difference function, which subtracts one list from another and returns the result. It should remo ...
分类:
其他好文 时间:
2020-06-21 23:07:28
阅读次数:
56
环境 JDK 6 JUnit 4.13 Spring Tool Suite 4.6.2 Maven 3.6.3 参数化测试 参数化测试首先需要指定 Runner:org.junit.runners.Parameterized,然后准备测试数据。 有两种注入测试数据的方法,一种是构造函数注入,另一种是 ...
分类:
其他好文 时间:
2020-06-21 23:04:26
阅读次数:
53
#大话设计模式——简单工厂模式 --参考自《大话设计模式》 需求 现在有一个需求,实现一个简单的计算器 对于一般的初学者来说可能会这么实现: public class calculate { public static void main(String[] args) { Scanner cin = ...
分类:
其他好文 时间:
2020-06-21 19:41:43
阅读次数:
40
sql1 源码: <?php require_once('../header.php'); require_once('db.php'); $sql = "SELECT * FROM users where name='"; $sql .= $_GET["name"]."'"; $result = ...
分类:
数据库 时间:
2020-06-21 13:43:15
阅读次数:
60
无效的绑定语句(未找到):com.bdqn.cn.dao.zhCheMapper.addzhChe (1)dao层的方法和mapper.xml中的方法不一样; (2)mapper.xml中的namespace resultParameter 和对应的dao层pojo层不一样 (3)spring配置文 ...
分类:
移动开发 时间:
2020-06-21 11:43:00
阅读次数:
53
location /private/ { auth_request /auth; ... } location = /auth { proxy_pass ... proxy_pass_request_body off; proxy_set_header Content-Length ""; prox ...
分类:
其他好文 时间:
2020-06-21 10:14:27
阅读次数:
75