form表单提交
2015-12-24 14:58
267 查看
<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");// 总周期
相关文章推荐
- linux 之 echo命令用法
- xilinx时序约束
- redis之有序集合类型(Zset)——排行榜的实现
- python的第一个程序
- 如何根据内存数据生成位图
- PHP开发中修改服务器中的编码
- Eclipse使用ButterKnife前,需要的配置步骤
- HDU2102 A计划(三维BFS)
- 1118有限自动机的构造与识别
- 获取客户端IP
- 非对称加密
- 在Android平台下搭建PhoneGap开发环境--用HTML5开发游戏
- 大数据量下高并发同步的讲解(不看,保证你后悔)
- javascript标准对象与包装对象
- javascript与jquery中的this关键字用法实例分析
- sem_timedwait 会被signal的信号唤醒及处理办法
- 72、STP安全配置实验之BPDU Guard
- android 第三方模拟器 genymotion安装问题修复
- Storm入门教程:安装部署步骤详解(1)
- Address already in use: JVM_Bind:8080解决方案