通过更改form里的action和隐藏input的method值。
function send(){ document.getElementById("method").value="processSend"; var s = document.getElementById("method").value; document.form1.action = "<%=contextpath %>/jsp/process/banli.do"; document.form1.submit(); }
function send(){ document.getElementById("method").value="processSend"; var s = document.getElementById("method").value; document.form1.action = "<%=contextpath %>/jsp/process/banli.do"; document.form1.submit(); }