前一篇《jQuery.Ajax()执行WCF
Service的方法》http://www.cnblogs.com/insus/p/3727875.html我们有练习在asp.net
mvc应用程序中,POST 数据去wcf service并执行方法。本篇的练习是提交较复对象至wcf service执...
分类:
Web程序 时间:
2014-05-20 01:20:56
阅读次数:
398
用Chrome的插件Simple REST Client
调用POST的REST服务时,老是报415错误,如图。一开始就以为是服务端的问题,各种google,百度,折腾了一下午未果。
晚上继续看,一不小心看到返回的Response的Headers中Content-Type的值与冒号之间有一个空格,于...
分类:
其他好文 时间:
2014-05-17 17:47:55
阅读次数:
445
intdelayTime=3;QElapsedTimer
timer;timer.start();while(timer.elapsed()<(delayTime*1000)){app.processEvents();}
分类:
其他好文 时间:
2014-05-17 17:45:54
阅读次数:
209
http://stackoverflow.com/questions/21140852/start-tabtip-with-numpad-view-open
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto...
分类:
Windows程序 时间:
2014-05-17 15:25:14
阅读次数:
1105
1 Object-auditor 的启动
Object-auditor的启动和object-replicator的启动过程是一样的,首先是执行启动脚本
swift-init object-auditor start
启动脚本会运行swift源码bin目录下的
if __name__ == '__main__':
parser = OptionParser("%prog CONFIG...
分类:
其他好文 时间:
2014-05-16 02:50:59
阅读次数:
332
问题1
[root@localhost ~]# gluster peer status
Connection failed. Please check if gluster daemon is operational.
原因:未开启glusterd服务
解决方法:开启glusterd服务
/etc/init.d/glusterd start
问题2
[root@loc...
分类:
其他好文 时间:
2014-05-16 02:50:16
阅读次数:
391
先後運行的腳步/etc/inittab/etc/rc.d/rc.sysinit/etc/rc.d/rcX/etc/rc.d/rcX.d/Sxxxxstart(/etc/rc.d/init.d/XXXX)/etc/rc.d/rc.localminigetty/dev/tty1-6login-->bash/etc/profile~/.bash_profile5:gdm
分类:
系统相关 时间:
2014-05-16 02:11:38
阅读次数:
290
1.定义UITexture二维数组public UITexture[,]
m_UITexture;2.在 void start() 中分配内存m_UITexture = new UITexture[30,
50];3.遍历排列的UITexture//用UITexture数组获取UITexture ....
分类:
其他好文 时间:
2014-05-16 01:17:09
阅读次数:
316
很简单的一个问题,既然有人提到了,那我就在这里记录一下。<H3C>sysSystemView:returntoUserViewwithCtrl+Z.[H3C]local-useradmin[H3C-luser-admin]passwordcipher12345678Updatinguser(s)information,pleasewait....[H3C-luser-admin]service-typetelnetlevel3[H3C-lus..
分类:
其他好文 时间:
2014-05-15 19:06:36
阅读次数:
294
在eclipse启动tomcat时遇到超时45秒的问题:
Server Tomcat v7.0 Server at localhost was unable to startwithin 45 seconds. If the server requires more time, try increasingthe timeout in the server editor.
网上解决办法...
分类:
其他好文 时间:
2014-05-15 18:31:36
阅读次数:
242