var confirmOrderForm=document.getElementById("confirmOrderForm"); var url="${pageContext.request.contextPath }/confirmOrder/confirmOrder.action?
team=aa";
alert(url); confirmOrderForm.action=url;confirmOrderForm.submit();
怎么搞到了action里team都未空啊。
郁闷好久。才发现<form id="confirmOrderForm">忘加入method="post"