1.两次编码,一次解码。
两次编码:
var src=baseUrl+"/jsp/workflowpage.jsp?pk_workflow=" + pk + "&name="+encodeURIComponent(encodeURIComponent(name))+"&code="+encodeURIComponent(code)+"";
一次解码:
var name=decodeURIComponent('<%=request.getParameter("name")%>');