1--前台页面
- var uuid = encodeURI(encodeURI(oRecord.getData("uuid")));
- var uname =encodeURI(encodeURI(oRecord.getData("uname")));
- alert(uuid+"--"+uname);
- var updateURL = contextPath+"/yuidemo/userManager.do?method=updateUser?uuid="+uuid+"&uname="+uname;
var uuid = encodeURI(encodeURI(oRecord.getData("uuid")));
var uname =encodeURI(encodeURI(oRecord.getData("uname")));
alert(uuid+"--"+uname);
var updateURL = contextPath+"/yuidemo/userManager.do?method=updateUser?uuid="+uuid+"&uname="+uname;
2--控制层
- String uuid = java.net.URLDecoder.decode(request.getParameter("uuid"),"utf-8");
String uuid = java.net.URLDecoder.decode(request.getParameter("uuid"),"utf-8");