<form method="post" id="formSub" action="app/tiJiao.chtml" style="display: none" >
<input type="text" id="zhouqi" name="zhouqi" value="${zhouqi}" style=" display: ; " />
<input type="text" id="productId" name="productId" value="${product.id}" style=" display: ;" />
<input type="text" id="zongjia" name="zongjia" value="${allMoney}" style=" display: ;" />
<input type="text" id="startTime" name="startTime" value="${startTime}" style=" display: ;" />
<input type="text" id="endTime" name="endTime" value="${endTime}" style=" display: ;" />
</form>
function tonextpage(){
$("#formSub").submit();
}
@RequestMapping(value = "app/tiJiao")
public String toTiJiaoDingDan(HttpServletRequest request, HttpServletResponse response, Model model,
@RequestParam(value = "startTime", required = false) String startTime,
@RequestParam(value = "endTime", required = false) String endTime ,
@RequestParam(value = "orderId", required = false) String orderId
) throws Exception {
String productId = request.getParameter("productId");// APPid
String zongjia = request.getParameter("zongjia");// 总价
String zhouqiString = request.getParameter("zhouqi");// 总周期