1、前台
(1)接受参数:var osGroupName=document.getElementById("osGroupName").value;
(2)解码:window.location.href="${ctxPath}/index?"+<%=java.net.URLEncoder.encode("osGroupName","utf-8")%>;
2、后台解码
(1)接受地址栏参数:String queryString = request.getQueryString();
(2)对参数进行解码:queryString=java.net.URLDecoder.decode(request.getQueryString(),"UTF-8");