注意class=xxx,这里利用easyui组件,构建出数据网格
jsp端
<table id="ttt" class="easyui-datagrid" style="width:400px;height:auto;"
toolbar="#tb" rownumbers="true" pagination="true"
>
<thead>
<tr>
<th field="id" width="200">ID</th>
<th field="name" width="200">NAME</th>
</tr>
</thead>
</table>