码迷,mamicode.com
首页 >  
搜索关键字:eclipse为tomcat安装browse deployment location    ( 9045个结果
java异常使用
一、try-catch-finaly处理 //当场捕捉处理处理异常 public void testTryCatch(){ try { logger.info("1/0={}",1/0); }catch (ArithmeticException e){ logger.info("捕捉异常{}",e. ...
分类:编程语言   时间:2020-07-16 21:22:34    阅读次数:69
nginx与location规则
2018年3月28日 记录: location = /uri =开头表示精确匹配,只有完全匹配上才能生效。 location ^~ /uri ^~ 开头对URL路径进行前缀匹配,并且在正则之前。 location ~ pattern ~开头表示区分大小写的正则匹配。 location ~* patt ...
分类:其他好文   时间:2020-07-16 10:13:30    阅读次数:146
drf-缓存相关
settings.py文件的配置 # 缓存相关配置 CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', # 指定缓存使用的引擎 'LOCATION': 'D:\django ...
分类:其他好文   时间:2020-07-16 00:28:01    阅读次数:95
Nginx proxy_pass详解
假设server_name为www.test.com当请求URL为http://www.test.com/zabbix/index.html时,以下示例的访问结果是示例1:location /zabbix/ { proxy_pass http://192.168.1.10;}结果1:http://1 ...
分类:其他好文   时间:2020-07-16 00:06:36    阅读次数:128
odoo 导入文件xml制作,使用csv 文件制作xml 文件
import csv import random class XmlFormat(object): def __init__(self): self.wf = open('data/res_location.xml', 'w', encoding='utf-8') self.add_header() ...
分类:其他好文   时间:2020-07-15 23:52:04    阅读次数:67
nginx location标签的匹配规则
location的匹配 匹配符 匹配规则 优先级 = 精确匹配 1 ^~ 以某个字符串开头 2 ~ 区分大小写的正则匹配 3 ~* 不区分大小写的正则匹配 4 !~ 区分大小写不匹配的正则 5 !~* 不区分大小写不匹配的正则 6 / 通用匹配,任何请求都会匹配到 7 # 通用匹配,任何请求都会匹配 ...
分类:其他好文   时间:2020-07-14 20:07:21    阅读次数:84
nginx 的常用模块
nginx的常用模块 ngx_http_index_module Syntax: index file ...; Default: index index.html; Context: http, server, location location / { index index.html; } n ...
分类:其他好文   时间:2020-07-14 19:57:20    阅读次数:64
编程式路由跳转到当前路由, 控制台抛出NavigationDuplicated的错误
router.push 的语法规则如下: router.push(location(导航路径), onComplete(成功的回调)?, onAbort?(失败的回调))router.push(location).then(onComplete).catch(onAbort)router.repla ...
分类:其他好文   时间:2020-07-14 13:35:46    阅读次数:71
写一个返回按钮
<input type="button" value="去B页面bai" onclick="javascript:window.location.href ='B.jsp';"><input type="button" value="返回duzhiA页面" onclick="javascript:h ...
分类:其他好文   时间:2020-07-14 00:59:44    阅读次数:99
websocket协议
很多网站为了实现推送技术,所用的技术都是 Ajax 轮询。轮询是在特定的的时间间隔(如每1秒),由浏览器对服务器发出HTTP请求,然后由服务器返回最新的数据给客户端的浏览器。这种传统的模式带来很明显的缺点,即浏览器需要不断的向服务器发出请求,然而HTTP请求可能包含较长的头部,其中真正有效的数据可能 ...
分类:Web程序   时间:2020-07-13 13:26:51    阅读次数:59
9045条   上一页 1 ... 23 24 25 26 27 ... 905 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!