jsp 中checkbox选中后,在当前页面显示返回的值,再次选中时,提交的数据包含了之前选中的checkbox 5

<formid="search"method="post"><table><th>查询类型:</th><th><inputtype="checkbox"name="Typ... <form id="search" method="post">
<table>
<th>查询类型:
</th>
<th><input type="checkbox" name="Type1" value="peorder"/></th><th>采购入库
<th><input type="checkbox" name="Type2" value="seorder"/></th><th>销售入库
<th><input type="checkbox" name="Type3" value="oeorder"/></th><th>其它入库
</th>
</th>
<th></th><th></th>
<th>日期: <select name="startDate" type="text" class="easyui-datebox" style="width: 100px;"></select>
</th>
<th>至: <select name="endDate" type="text" class="easyui-datebox" style="width: 100px;"></select>
</th>
<th><a href="javascript:void(0)" class="easyui-linkbutton c6"
iconCls="icon-search" style="width:70px"
onclick="getOrderList('enterWReportAction.action')">查询</a></th>
</table>
</form>
比如说我第一次选中了采购入库,获得了相关数据(在当前页显示的数据),下一次在单独选销售入库时显示的却是采购入库和销售入库的数据,有没有遇到过这个问题的盆友啊
使用了struts2框架
展开
 我来答
  • 你的回答被采纳后将获得:
  • 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏5(财富值+成长值)
CM娱新世界
2014-11-28 · TA获得超过308个赞
知道小有建树答主
回答量:337
采纳率:100%
帮助的人:139万
展开全部
获取数据没清空吧
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
卞_青
2014-11-28
知道答主
回答量:7
采纳率:0%
帮助的人:2.9万
展开全部
后台代码?
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式