在jsp的head上增加样式
<head>
<style type="text/css">
.data-table tr:hover{
background-color:#ffc;
}
</style>
</head>
<body>
<table class="data-table">
<tr>
<td></td>
</tr>
</body>
在jsp的head上增加样式
<head>
<style type="text/css">
.data-table tr:hover{
background-color:#ffc;
}
</style>
</head>
<body>
<table class="data-table">
<tr>
<td></td>
</tr>
</body>