码迷,mamicode.com
首页 >  
搜索关键字:mginx location    ( 8134个结果
java 转发和重定向
重定向什么是重定向?服务器发送一个302状态码及一个Location消息头(值是一个地址,称为重定向地址),通知浏览器立即向重定向地址发送请求。如何重定向?使用response.sendRedirect(String url);注意:在使用重定向前不要调用out.close();请求转发什么是转发?...
分类:编程语言   时间:2014-07-30 23:29:35    阅读次数:215
angular读书笔记(三)
(三)使用路由和$location切换视图app.js:angular.module('shop',['ngRoute','ngResource','shop.controllers','shop.services','shop.filter']).config(['$routeProvider',...
分类:其他好文   时间:2014-07-30 20:32:24    阅读次数:226
微软职位内部推荐-Senior Android Developer
微软近期Open的职位:Position: Senior SDE-- Mobile Products Android/iOS/WP Senior DeveloperContact Person: Winnie Wei (wiwe@microsoft.com)Location: BeijingRole...
分类:移动开发   时间:2014-07-30 03:16:52    阅读次数:301
CI框架下nginx重写规则
因为: server { listen 80; server_name 222.73.130.124; location / { index index.html index.htm index.php; root /data0/htdo...
分类:其他好文   时间:2014-07-29 17:38:52    阅读次数:193
javascript自动跳转
1.静态的秒数跳转<scriptlanguage="JavaScript1.2"type="text/javascript"><!--//Placethisinthe‘head‘sectionofyourpage.//url要跳转的页面time等待时间,单位为毫秒。functiondelayURL(url,time){setTimeout("top.location.href=‘"+url+"‘",time);}//--></scr..
分类:编程语言   时间:2014-07-29 15:39:19    阅读次数:252
jsp不通过form和Ajax提交
在页面里面我们一般都通过form表单和Ajax向后台提交请求,可是我现在页面没有form表单,也不想通过ajax异步提交。 解决方案如下:location.href="${rootPath}/record/exportScanningDetailExcel.htm?allRecordIds="+allRecordIds;  (当前页面打开URL页面)...
分类:Web程序   时间:2014-07-29 15:06:08    阅读次数:187
微软职位内部推荐-Android Developer
微软近期Open的职位:Position: SDE II or Senior SDE -- Mobile Products Android/WPContact Person: Winnie Wei (wiwe@microsoft.com)Location: BeijingRoles & Respon...
分类:移动开发   时间:2014-07-29 14:09:48    阅读次数:257
nginx实现访问网站或目录密码认证保护
添加目录登陆认证location / { auth_basic "提示"; auth_basic_user_file /usr/conf/htpasswd;}auth_basic指令包含一个具有测试用户名和密码的HTTP基本认证,指定的参数将用于认证域。如果将值设置为...
分类:Web程序   时间:2014-07-29 13:53:08    阅读次数:269
使用html editor 打开freemarker文件
freemarker模板文件使用jboss tools下提供的FreeMarker IDE,在线安装的方法是:Help –> Install New Software 点击and,再出来的对话框中的Location中输入:http://download.jboss.org/jbosstools/up...
分类:Web程序   时间:2014-07-29 13:35:08    阅读次数:271
前台技术--通过javaScript提交表单
window.location=pp+"?username="+getCookie("username")+"&userid="+getCookie("userid"); 替换 document.write(""); document.write(""); document.write(""); document.write(""); document.formx1.submit();...
分类:编程语言   时间:2014-07-29 13:08:36    阅读次数:245
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!