目录结构: isa.qa.core.weixin.message.resp包和isa.qa.core.weixin.util包中为微信绑定的工具类,就不一一贴出代码,详见附件,下载地址: http://files.cnblogs.com/files/007sx/weixin_util.zip jar ...
分类:
微信 时间:
2016-08-26 18:17:55
阅读次数:
880
ORACLE利用UTL_HTTP包提供了访问HTTP的工具。 下面这段代码是网上找的,可以直接在plsql中运行。 declare req UTL_HTTP.REQ; resp UTL_HTTP.RESP; val varchar2(32767);begin req := UTL_HTTP.BEGI ...
分类:
数据库 时间:
2016-08-09 20:47:58
阅读次数:
350
老师总会说道:学完这个知识点,我们来谈谈中文乱码问题。 乱码的问题总是无处不在,处理不好会给用户带极差的用户体验。 那么我们来记录一下servlet中的乱码问题吧! 1.服务器向客户端响应时出现的乱码问题: response.setCharacterEncoding("UTF-8"); 或者resp ...
分类:
其他好文 时间:
2016-07-21 00:35:55
阅读次数:
175
1、在Asp页面首部<head>加入 复制代码 代码如下: Response.Buffer = True Response.ExpiresAbsolute = Now() - 1 Response.Expires = 0 Response.CacheControl = "no-cache" Resp ...
分类:
Web程序 时间:
2016-07-13 15:23:42
阅读次数:
177
一、tomcat7中cookie写入中文引发的异常问题及解决 问题: Cookie cookie = new Cookie("cookieName", "Cookie值");resp.addCookie(cookie); 目标URL访问此方法时,会抛出异常: java.lang.IllegalArg ...
分类:
其他好文 时间:
2016-07-01 01:14:24
阅读次数:
152
##使用gson解析json文件 **json的格式有两种:** **1. {}类型,及数据用{}包含;** **2. []类型,即数据用[]包含;** 下面用个例子,简单的介绍gson如何解析json,仅使用~ 先发两个json 内容 1、最外层是{} { "resp": "ok", "resul ...
分类:
移动开发 时间:
2016-06-27 21:26:43
阅读次数:
224
1.单文件下载(1)找出文件在Web应用的虚拟路径。 如 "WEB-INF/data/1.jpg"。(2)根据虚拟路径,查找出该文件在服务器硬盘中的物理地址。(3)读入输入流。(4)设置响应类型,为固定格式:resp.setContentType("applicaton/x-msdownload") ...
分类:
其他好文 时间:
2016-06-24 12:50:54
阅读次数:
149
JSP对象 Servlet中怎样获得 out resp.getWriter request service方法中的req参数 response service方法中的resp参数 session req.getSession()函数 application getServetContext()函数 ...
分类:
Web程序 时间:
2016-06-21 22:35:06
阅读次数:
253
BEGIN mo_global.init('SQLAP'); --指定模块 mo_global.set_policy_context('S', org_id);END; BEGIN fnd_global.apps_initialize(user_id, resp_id, resp_appl_id);... ...
分类:
其他好文 时间:
2016-06-06 18:47:02
阅读次数:
328
-查看EBS用户的所有职责:SELECTfrt.responsibility_name,furg.END_DATEFROMfnd_user_resp_groupsfurg,fnd_responsibilityfr,fnd_responsibility_tlfrt,fnd_userfuwherefu.user_name=‘&username‘andfu.user_id=furg.user_idandfurg.RESPONSIBILITY_ID=fr.responsibility_id..
分类:
数据库 时间:
2016-05-24 22:57:15
阅读次数:
386