在做微信支付的时候,点击提交,出现“redirect_uri参数错误”。经过查找,需要在后台正确设置授权域名。大致步骤如下:1.首先登录微信公众号管理后台2.点击开发者中心3.找到 网页账号—>网页授权获取用户信息,并点击修改按钮4.填写自己的域名5.点击确认后,即时生效。 ...
分类:
微信 时间:
2016-08-09 11:55:37
阅读次数:
736
1、listUI.jsp<%@pagecontentType="text/html;charset=UTF-8"language="java"%>
<%@taglibprefix="s"uri="/struts-tags"%>
<html>
<head>
<title>用户管理</title>
<%@includefile="/common/header.jsp"%>
<scripttype="text/jav..
分类:
Web程序 时间:
2016-08-09 08:16:47
阅读次数:
349
这次项目中遇到一个平时没有注意的问题,那就是SpringMVC的拦截器。 ...
分类:
编程语言 时间:
2016-08-08 14:09:42
阅读次数:
256
一、从HTTP URI Scheme入手 对于 <a href="http://github.com">HTTP URI Scheme</a> 我想大家都应该很熟悉了,href属性值http://github.com就是HTTP URI Scheme,那么什么是DATA URI Scheme呢?其实 ...
分类:
其他好文 时间:
2016-08-08 12:44:32
阅读次数:
320
这些URI方法encodeURI、encodeURIComponent()、decodeURI()、decodeURIComponent()代替了BOM的escape()和unescape()方法。URI方法更可取,因为它们对所有Unicode符号编码,而BOM方法只能对ASCII符号正确编码。尽量 ...
分类:
编程语言 时间:
2016-08-08 12:38:09
阅读次数:
151
从web.xml中servlet的配置开始,根据servlet拦截的url-parttern,来进行请求转发Spring工作流程描述1.用户向服务器发送请求,请求被Spring前端控制ServeltDispatcherServlet捕获;2.DispatcherServlet对请求URL进行解析,得到请求资源标识符(URI)。然后根据该URI,调用Handle..
分类:
编程语言 时间:
2016-08-07 17:12:02
阅读次数:
171
http://developer.baidu.com/map/uri-intro.htm http://api.map.baidu.com/geocoder?address=北京市海淀区上地信息路9号奎科科技大厦&output=html http://map.baidu.com/?l=&s=s%26 ...
分类:
其他好文 时间:
2016-08-06 17:30:56
阅读次数:
126
The order the container uses in building the chain of filters to be applied for a particular request URI is as follows:1. First, the <url-pattern> mat ...
分类:
Web程序 时间:
2016-08-06 08:30:16
阅读次数:
161
jsp 编码方式: tomcat 编码方式: 原因: 编码不一致导致。 依据: This specifies the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specifi ...
分类:
其他好文 时间:
2016-08-06 08:28:52
阅读次数:
245
PHP服务器变量$_SERVER及其几个函数的使用 PHP服务器变量$_SERVER及其几个函数的使用:QUERY_STRING、REQUEST_URI、SCRIPT等1、$_SERVER["QUERY_STRING"]说明:获取的query的字符串2、$_SERVER["REQUEST_URI"] ...
分类:
Web程序 时间:
2016-08-05 21:30:47
阅读次数:
150