日期:2014-05-16  浏览次数:20337 次

javascript 前台加密和后台接受解密

function subNew3(){

var patPnr = document.getElementById("patPnr").value;

if(patPnr ==""){

alert("黑屏导入信息不能为空!");

return;

}

var patPnrEncode = encodeURIComponent(patPnr);

?

document.getElementById("patPnrEncode").value = patPnrEncode;

document.getElementById("patPnr").value = "";

document.applyForm3.submit();

}

?

?

String patPnrEncode = request.getParameter("patPnrEncode"