window.location.href = url+"&name=" + encodeURI(encodeURI(team)) ;其中team是中文,页面部分需要编码两次 team= java.net.URLDecoder.decode(team, "UTF-8");服务器端,要解码