1。根据后台条件显示与隐藏一个tr可以用<tr style="display:<%=(showflag)?"":"none"%>">
后台 protected bool showflag=false;
showflag=判断条件