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

通过JS实现struts一个form对应多个action(按钮)
通过更改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();   
  }