码迷,mamicode.com
首页 >  
搜索关键字:invalid result location value/parameter    ( 21048个结果
JS 中获得根目录
/*** * 获得根目录 * @returns */function getRootPath() { var strFullPath = window.document.location.href; var strPath = window.document.location.pathn...
分类:Web程序   时间:2014-08-04 21:17:07    阅读次数:262
phonegap 附件下载及打开附件
出处:http://my.oschina.net/u/1011854/blog/169434再次 谢谢作者!在开发web app并且使用phonegap的情况下,附件下载着实是一件令人头疼的事,什么window.open或者window.location.href在webview中都不起作用,网上查...
分类:其他好文   时间:2014-08-04 21:00:17    阅读次数:266
Onvif 获取指定通道的流媒体地址
GetStreamUri函数可以获取流媒体地址。代码如下:void UserGetUri(const char* xAddr){ int result=0 ; struct soap *soap = soap_new(); struct _trt__GetStreamUri trt__Ge...
分类:其他好文   时间:2014-08-04 20:54:27    阅读次数:2148
nginx location一些认识
基本语法location[=|~|~*|^~|@]/uri/{…}〖=〗表示精确匹配,如果找到,立即停止搜索并立即处理此请求。〖~〗表示区分大小写匹配〖~*〗表示不区分大小写匹配〖^~〗表示只匹配字符串,不查询正则表达式。〖@〗指定一个命名的location,一般只用于内部重定向请求。**区分和不区分..
分类:其他好文   时间:2014-08-04 18:23:48    阅读次数:242
getWidth和getMeasuredWidth在何时可以得到正确数值
getMeasuredWidth在源码中的解释如下: /** * Like {@link #getMeasuredWidthAndState()}, but only returns the * raw width component (that is the result is masked by * {@link #MEASURED_SIZE_MASK}...
分类:其他好文   时间:2014-08-04 14:36:27    阅读次数:265
php 高效分页
mysql.php 获取数据库中的记录,完全个人经验总结,仅供参考!".$sql."";mysql_query($sql);if($printsql) echo "".$sql2."";$result = mysql_query($sql2);if(mysql_num_rows($result)==...
分类:Web程序   时间:2014-08-04 13:49:37    阅读次数:293
javascript 之 location.href、跨窗口调用函数
location.href这个东西常常用于跳转,location既是window对象的属性,又是document对象的属性。JavaScript hash 属性 -- 返回URL中#符号后面的内容JavaScript host 属性 -- 返回域名JavaScript hostname 属性 -- ...
分类:编程语言   时间:2014-08-04 13:46:07    阅读次数:243
linux c 进程 pipe 通信代码分析
[root@luozhonghua 04]# cat ex04-3-pipe02.c #include #include #include #include #include int main(void){    int result=-1;    int fd[2],nbytes;    pid_t pid;    char string[]="hello,...
分类:系统相关   时间:2014-08-04 02:05:36    阅读次数:307
3.C#WinForm基础累加器
功能:实现累加计算。知识点:bool int.TryParse(string s,out int result)(+1重载) 将数字的字符串形式转换为它的等效的32位有效的有符号整数,一个指示操作是否成功的返回值。using System;using System.Collections.Gener...
分类:Windows程序   时间:2014-08-03 20:21:25    阅读次数:343
Mac OS X+AspectJ+JDK 8,报Invalid byte tag in constant pool: 18的解决方法
这个问题也挺让人无语的,昨天重新装了Mac OS X,然后装JDK,想都没想就装了JDK 8,然后开始实验,结果就报类似于下面这种Exception: org.aspectj.apache.bcel.classfile.ClassFormatException: File: 'java.util.Comparator': Invalid byte tag in constant pool: 18...
分类:Web程序   时间:2014-08-03 12:50:35    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!