清理DNS的缓存 ipconfig /flushdns 查看dns nslookup 重置socket服务 netsh winsock reset 重置tcp/ip协议栈 netsh int ip reset 或者 netsh winhttp reset proxy 查看系统详细信息 systemi ...
一、在app.js利用官方方法获取设备信息 App({ onLaunch: function() { wx.getSystemInfo({ success: res => { this.globalData.systemInfo = res } }) }, globalData: { systemI ...
分类:
微信 时间:
2018-07-30 20:20:11
阅读次数:
1327
MessageBox.Show("当前窗体标题栏高度"+(this.Height - this.ClientRectangle.Height).ToString());//获得当前窗体标题栏高度ClientRectangle//获取表示控件的工作区的矩形MessageBox.Show(SystemI...
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from class path resource [beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: White ...
分类:
其他好文 时间:
2015-07-31 13:10:26
阅读次数:
1703
应用统计中有时候需要上传设备型号,如果这样写:[[UIDevice currentDevice] model]获得的设备型号不是具体型号,如在iPhone5S上面运行,实测得到字符串为@”iPhone”,我想要的是具体型号。
这里提供一个方法来获得设备具体型号(版本与机型的对应关系来源于维基百科):- (NSString *)platform{
struct utsname systemI...
分类:
移动开发 时间:
2015-06-30 18:24:40
阅读次数:
138
今天在配applicationContext.xml的时候出现了这样一个错误:
x: White spaces are required between publicId and systemId
我用的是Spring3.0.5
错误在于下列标签的顺序必须按照下面的来
xsi:schemaLocation="http://www.springframework.org/schema/bea...
分类:
其他好文 时间:
2015-04-22 18:17:17
阅读次数:
129
异常如下:org.dom4j.DocumentException: Error on line 2 of document file:///D:/workspaces/struts2/lesson01/src/newfile.xml : White spaces are required betwe...
分类:
其他好文 时间:
2014-12-20 00:36:40
阅读次数:
523
I have designed a component of a web system with my workmate. In detail, I am just a coder instead of a designer, as all of it are designed by my ma.....
分类:
其他好文 时间:
2014-09-11 20:51:42
阅读次数:
226
今天配置Spring,遇到一个很奇葩的问题:Spring.xml的配置文件内容:测试出错:Tests in error: instanceSpring(com.qunar.studyspring.SpringTest): Line 1 in XML document from class pat.....
分类:
编程语言 时间:
2014-08-17 02:16:51
阅读次数:
4001
(一)DocumentType 类型的变化新增三个属性: publicId,systemId,internalSubset(内部子集)
通过, document...
分类:
编程语言 时间:
2014-07-12 21:13:56
阅读次数:
342