jsp页面select回显选中
解决方法:
<select>
<option value="">请选择类型</option>
<option ${obj.tcug_type=='1'?'selected':'' } value="1">套餐</option>
<option ${obj.tcug_type=='2'?'selected':'' } value="2">联系人</option>
<option ${obj.tcug_type=='3'?'selected':'' } value="3">开票信息</option>
</select>