好久不配置tomcat了,以前都是进去配置下JDK,Connector,今天让配置Context,顾学习记录下。 JDK /bin/catalina.sh Connector + Context /conf/server.xml Context标签 Context标签可用于Tomcat部署web项目 ...
分类:
其他好文 时间:
2021-05-24 09:29:50
阅读次数:
0
陌潇 2019-01-18 16:40:36 3095 收藏 4分类专栏: Laravel框架 文章标签: Laravel 返回值版权先理解几个概念:StdClass 对象 => 基础的对象 Eloquent 模型对象(Model 对象) => 和模型相关的类对象 Eloquent 集合 => 可以 ...
分类:
其他好文 时间:
2021-05-24 09:27:45
阅读次数:
0
主要实现了 轮询、加权轮询、随机、加权随机、IPHash 参考大佬文章: https://www.cnblogs.com/wxd0108/p/5465938.html 废话不说,码上见 using System; using System.Collections.Generic; using Sys ...
分类:
编程语言 时间:
2021-05-24 09:27:18
阅读次数:
0
修改php-fpm.conf security.limit_extensions = .php .html 查看php-fpm.conf内listen,如果是端口则nginx.conf server内容为 location ~ \.php|\.html(.*)$ { fastcgi_pass 127 ...
分类:
Web程序 时间:
2021-05-24 09:26:26
阅读次数:
0
~~ (取整) ~~代表双非按位取反运算符, 如果你想使用比Math.floor()更快的方法,那就是它了。 需要注意,对于正数,它向下取整;对于负数,向上取整;非数字取值为0,它具体的表现形式为: ~~null; // => 0 ~~undefined; // => 0 ~~Infinity; / ...
分类:
Web程序 时间:
2021-05-24 08:51:19
阅读次数:
0
来源:https://www.cnblogs.com/maybe2030/p/4781555.html#_label6 TCP/IP协议是Internet最基本的协议、Internet国际互联网络的基础,由网络层的IP协议和传输层的TCP协议组成。通俗而言:TCP负责发现传输的问题,一有问题就发出信 ...
分类:
其他好文 时间:
2021-05-24 08:51:07
阅读次数:
0
iperf2(又叫iperf)帮助手册:https://iperf2.sourceforge.io/iperf-manpage.html iperf分为Server端和Client端, 服务器端: iperf -s -i 1 客户端: iperf -c 192.168.13.4 -i 1 -t 60 ...
分类:
其他好文 时间:
2021-05-24 08:44:11
阅读次数:
0
《说明先引入layui组件框架》 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib prefix="c" uri="http://java.sun.com/ ...
分类:
其他好文 时间:
2021-05-24 08:43:31
阅读次数:
0
方法一: <input type="text" autocomplete="off" name="test" /> 方法二: 在 input 所在的form标签中添加 <form action="#" autocomplete="off"> <input type="text" autocomple ...
分类:
Web程序 时间:
2021-05-24 08:42:55
阅读次数:
0
JS获取浏览器高度和宽度 IE中: document.body.clientWidth ==> BODY对象宽度 document.body.clientHeight ==> BODY对象高度 document.documentElement.clientWidth ==> 可见区域宽度 docum ...
分类:
Web程序 时间:
2021-05-24 08:42:24
阅读次数:
0