select ID,COMMAND,DESCRIPTION,CONTENT from message where 1=1
<if test="command!=null and !''.equals(command.trim()) ">
and COMMAND=#{command}
</if>
<if test="description!=null and !''.equals(description.trim()) ">
and DESCRIPTION like '%' #{description} '%'
</if>
<if test="command!=null and !''.equals(command.trim()) ">
and COMMAND=#{command}
</if>
<if test="description!=null and !''.equals(description.trim()) ">
and DESCRIPTION like '%' #{description} '%'
</if>
2015-11-06
最新回答 / 西北望change
调用DeleteBatchServlet.action的servlet代码中有跳转到List.action这个servlet去重新请求messageList,老师具体讲解用的应该是forward跳转,做了请求转发
2015-10-31
<script type="text/javascript">
//post 方式提交
$(document).ready(function(){
$("a[class='aa']").each(function(){$(this).click(function(){$(this).after("<input type='hidden' name='id' value='"+$(this).attr("messageId")+"'/>");$("#mainForm").submit();});});});</script>
//post 方式提交
$(document).ready(function(){
$("a[class='aa']").each(function(){$(this).click(function(){$(this).after("<input type='hidden' name='id' value='"+$(this).attr("messageId")+"'/>");$("#mainForm").submit();});});});</script>
2015-10-30