<s:iterator id="product" value="list">
<tr align='center' bgcolor="#FFFFFF"
onMouseMove="javascript:this.bgColor='#FCFDEE';"
onMouseOut="javascript:this.bgColor='#FFFFFF';"
height="22">
<td><input name="id" type="checkbox" id="id"
value="101" class="np"></td>
<td><s:property value="#product.productId" /></td>
<td>
<img src="#product.productImg">
</td>
<td align="left"><a
href="product_getProductsById.action?productId=${productId}"><s:property
value="#product.productName" /></a></td>
<td><a
href="product_getProductsById.action?productId=${productId}"><img
src="images/index1_82.gif" width="74" height="31"
border="0" /></a> <a
href="product_delPro.action?productId=${productId}"><img
src="images/index1_84.gif" width="74" height="31"
border="0" /></a></td>
</tr>
</s:iterator>
Img标签里面的是数据库字段存的路径,不好使,我也试过网上在Tomcat里面的servlet.xml更改虚拟路径,也没有显示出来。百度了一天,也看到了一些方法,但是不知道应该放在哪个类里面。求大神给个详细的指导。
要是有实现方法应该放在哪个类里面也顺带说一下呗?下面是我的项目结构。

跪谢
