码迷,mamicode.com
首页 >  
搜索关键字:mginx location    ( 8134个结果
springmvc resources 配置
http://www.mkyong.com/spring-mvc/spring-mvc-how-to-include-js-or-css-files-in-a-jsp-page/如果注意location是Webroot目录下面的文件夹则需要在映射目录前面加上工程名称
分类:编程语言   时间:2014-08-16 20:59:31    阅读次数:218
Android SDK与ADT版本不匹配的解决
打开eclipse时出现无法识别android的项目,即所有android项目均显示红色错误标记。点击菜单Window的Android Virtual Device Manager 插件的标志时出现了Location of the Android SDK has not been setup i.....
分类:移动开发   时间:2014-08-16 20:57:41    阅读次数:332
js页面跳转(含框架跳转)整理
js方式的页面跳转1.window.location.href方式 2.window.navigate方式跳转 3.window.loction.replace方式实现页面跳转,注意跟第一种方式的区别有3个jsp页面(1.aspx, 2.aspx, 3.aspx),进系统默认的是1.aspx,当我进...
分类:Web程序   时间:2014-08-16 18:21:50    阅读次数:315
ajax hash缓存
hash 模拟url路由function hashdone(){var hash;hash=(!window.location.hash)?"#one":window.location.hash;window.location.hash=hash;var hashStr = location.has...
分类:其他好文   时间:2014-08-16 17:03:40    阅读次数:212
a标签href无值 onclick事件跳转
更多>> 单击无反应更多>>js实现不打开新窗口跳转document.location.href=url;打开新窗口跳转window.open(url);
分类:其他好文   时间:2014-08-15 19:27:19    阅读次数:215
android开发的权限获取 (转载的)
访问登记属性android.permission.ACCESS_CHECKIN_PROPERTIES ,读取或写入登记check-in数据库属性表的权限获取错略位置android.permission.ACCESS_COARSE_LOCATION,通过WiFi或移动基站的方式获取用户错略的经纬度信息...
分类:移动开发   时间:2014-08-15 19:13:59    阅读次数:321
HDU4941:Magical Forest(map)
Problem Description There is a forest can be seen as N * M grid. In this forest, there is some magical fruits, These fruits can provide a lot of energy, Each fruit has its location(Xi, Yi) and the ...
分类:其他好文   时间:2014-08-15 14:42:38    阅读次数:308
JS取地址栏参数的两种方法
第一种方法:function GetQueryString(name){ var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg)...
分类:Web程序   时间:2014-08-15 14:17:38    阅读次数:254
Nginx打开目录浏览功能(autoindex)
Nginx默认是不允许列出整个目录的。如需此功能,打开nginx.conf文件,在location server 或 http段中加入autoindex on;另外两个参数最好也加上去:autoindex_exact_size off;默认为on,显示出文件的确切大小,单位是bytes。 改为off...
分类:其他好文   时间:2014-08-15 12:40:48    阅读次数:271
nginx 日志过滤网络爬虫访问日志
nginx里面有很多的爬虫日志,会影响到后期的数据分析,所以一般会去掉。nginx排除配置:location/{ #去掉爬虫Start if($http_user_agent~*"bot|spider"){ access_logoff; } #去掉爬虫end proxy_passhttp://cdel_jxjy; ...... }如果特别想要爬虫日志,也可以讲爬虫日志放到指定..
分类:其他好文   时间:2014-08-15 10:51:29    阅读次数:299
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!