C#中可以用XmlDocument类操作Xml文件
例如要读取如下Xml文件
25
56
程式如下
XmlDocument doc = new XmlDocument();
doc.Load("config.xml"); //加载Xml文件
XmlElement rootEle...
分类:
其他好文 时间:
2014-06-05 12:31:15
阅读次数:
232
Ubuntu 安装oepnssh 报错
有时候由于linux版本不够新,或者安装的包不知是什么原因坏了。报如下错误
unable to correct the problems, you have held broken prckages
可以用如下命令解决
sudo apt-get autoclean
sudo apt-get autoremov...
分类:
其他好文 时间:
2014-06-05 09:31:23
阅读次数:
174
Mask(遮罩)效果,就是在页面还没有完全显示出来之前, 加上一个转装转的效果。
类似:
添加这样的效果有两个好处:
1. 在页面没完全show出来之前, 把后面的页面给遮罩起来, 防止进行一些非法的操作。
2. 如果页面show出来的时间比较长的话, 可以暂时吸引用户的注意力(也就是提高 User Experience).
在Extjs 中, Ext js 的使用方式有多种。
你有可能会发现为什么有的状况下load mask 不出现? 且听下面一一道来。。。...
分类:
Web程序 时间:
2014-06-05 07:56:00
阅读次数:
490
第一次使用session,需要:
$this->load->library('session');
的同时,还需要修改配置文件:config.php 找到 $config['encryption_key'] = ‘’
将$config['encryption_key'] 的内容随便设置,就可以用了。
附录:
1.添加session内容:
$this->session->set_us...
分类:
其他好文 时间:
2014-06-05 01:18:12
阅读次数:
201
严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/sshnews,J2EEApplication=none,J2EEServer=none
还有其他报错,大概意思就是不支持版本 version 51,unable to load class org.glassfish.jersey.servlet...
分类:
移动开发 时间:
2014-06-03 05:07:20
阅读次数:
295
最近需要测试一个长连接服务器,数据上需要达到100W的长连接,测试的客户端,一个线程保持一个连接,发现linux服务器默认创建到3200多个线程的时候,就会报错这个错误“java.lang.OutOfMemoryError: unable to create new native thread。而且,此时整个系统都不能创新新的线程了,不能连接终端,不能执行任何命令。
貌似是内存不足,但实际内存尚...
分类:
编程语言 时间:
2014-06-03 03:30:58
阅读次数:
285
今天在使用百度地图的时候运行发现报错:
明明已经加入了liblocSDK3.so,但总是无法定位。提示错误java.lang.UnsatisfiedLinkError: Couldn't load locSDK3: findLibrary returned null.
网上找了很多的资料找到一个方法:
在libs下新建一个armeabi-v7a,然后将liblocSDK3.so复...
分类:
移动开发 时间:
2014-06-01 10:34:07
阅读次数:
249
报这个错的话:基本都是配置出错,具体配置看下面。
AndroidManifest.xml 文件:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mayi.test.dao"
android:versionCode="1"
an...
分类:
移动开发 时间:
2014-05-31 22:00:03
阅读次数:
434
6.0: AxCryptoClient - New encryption key
created6.0:Unable to InitializeSession.6.0: No built-in message corresponding to
message id 0.解决方法:1、将登...
分类:
其他好文 时间:
2014-05-30 23:51:26
阅读次数:
500