PHP 利用SOAP调用webservice 传输汉字数据时,开发环境使用GBK模式,报上述错误,解决方法,在配置中使用如下语句: $server = new SoapServer(null, array( 'uri' =>'http://soap/', 'encoding'=>'ISO-8859- ...
分类:
其他好文 时间:
2016-08-01 12:35:14
阅读次数:
440
本篇文章主要介绍如何利用struts2进行文件的上传及下载,同时给出我在编写同时所遇到的一些问题的解决方案。 文件上传 前端页面 1 <!-- 引入struts标签 --> 2 <%@taglib prefix="s" uri="/struts-tags"%> 3 4 <!-- 5 使用struts ...
分类:
Web程序 时间:
2016-08-01 01:38:40
阅读次数:
226
1,拨打电话 Intent intent = new Intent(Intent.ACTION_DIAL); Uri uri = Uri.parse("tel:" + "1511690XXXX"); intent.setData(uri); startActivity(intent); 2,发送短信 ...
分类:
移动开发 时间:
2016-07-31 14:26:08
阅读次数:
256
在nginx配置文件中加入if($document_uri!~‘jzq‘){rewrite^/(.*)$http://www.jzq.pub/abc/$1permanent;}Mkdir/data/www/abc
分类:
其他好文 时间:
2016-07-30 22:42:49
阅读次数:
209
首先引导用户去授权页面:地址:"https://open.weixin.qq.com/connect/oauth2/authorize?appid=appid&redirect_uri=redirect_uri&response_type=code&scope=SCOPE&state=STATE#w ...
分类:
微信 时间:
2016-07-30 18:22:22
阅读次数:
387
HTTP Request All HTTP requests have a request line consisting a method name, a request URI and an HTTP protocol version. HttpClient supports out of th ...
分类:
Web程序 时间:
2016-07-30 13:22:36
阅读次数:
168
前段时间在做项目的时候,碰到这个问题 结果是相应的内容显示不出来,原来是忘了这句很关键的引入:<%@taglib prefix="s" uri="/struts-tags" %> 1,Struts2只有一个标签库s, 引入它的方式为:<%@taglib prefix="s" uri="/struts ...
分类:
其他好文 时间:
2016-07-30 11:44:38
阅读次数:
323
MediaStore这个类是Android系统提供的一个多媒体数据库,android中多媒体信息都可以从这里提取。这个MediaStore包括了多媒体数据库的所有信息,包括音频,视频和图像,android把所有的多媒体数据库接口进行了封装,所有的数据库不用自己进行创建,直接调用利用ContentRe ...
分类:
移动开发 时间:
2016-07-28 15:18:56
阅读次数:
155
$_SERVER['PHP_SELF'] 得到:/php/index.php/test/foo $_SERVER['SCRIPT_NAME'] 得到:/php/index.php $_SERVER['REQUEST_URI'] 得到:/php/index.php/test/foo?username= ...
分类:
Web程序 时间:
2016-07-25 14:24:37
阅读次数:
144
简述 HTTPS(全称:Hyper Text Transfer Protocol over Secure Socket Layer),是以安全为目标的HTTP通道,简单讲是HTTP的安全版。即HTTP下加入SSL层,HTTPS的安全基础是SSL,因此加密的详细内容需要SSL。它是一个URI sche ...
分类:
数据库 时间:
2016-07-25 01:50:22
阅读次数:
614