JS代码 encodeURI(encodeURI(template) 貌似是两遍转码
url : "<%=path%>/fileupload/verifyLoadSongPdf.action?template="+encodeURI(encodeURI(template))+"&songName="+encodeURI(encodeURI(songName)),
//java代码 URLDecoder.decode()解码
String template= URLDecoder.decode(getRequest().getParameter("template"), "UTF-8").replace("《", "").replace("》", "");
String songName= URLDecoder.decode(getRequest().getParameter("songName"), "UTF-8");