不展示數(shù)據(jù)而是展示了jsp代碼
<c:forEach?items="${messgeList}"?var="message"?varStatus="status"> ??<c:if?test="${status.index%2!=0}">style='background-color:#ECF6EE;'</c:if> ??<tr> ?????<td><input?type="checkbox"?/></td> ?????<td>${status.index+1?}</td> ?????<td>${message.command}</td> ?????<td>${message.description}</td> ????? ?????<td> ????????<a?href="#">修改</a> ????????<a?href="#">刪除</a> ?????</td> ??</tr> </c:forEach> 按照視頻敲的,但是最后展示出來(lái)不是我數(shù)據(jù)庫(kù)中的數(shù)據(jù),而是代碼,求解。。
2019-06-16
如果你和視頻的一樣,保證代碼沒有出錯(cuò)的情況下。我想問(wèn)一下你的web版本支持EL表達(dá)式嗎?
2017-12-10
忘了放圖了,補(bǔ)上