-1
我正在读取bean对象的所有列表,我想在显示标签库的显示标签列之间显示图像。我能怎么做? 另外我想在显示标签库之间使用Struts标签库。我这样做了,但输出没有显示。如何在显示标签库之间显示图像?
我正在读取bean对象的所有列表,我想在显示标签库的显示标签列之间显示图像。我能怎么做? 另外我想在显示标签库之间使用Struts标签库。我这样做了,但输出没有显示。如何在显示标签库之间显示图像?
<display:table export="true" sort="list" id="productTable" name="products" pagesize="3"
cellpadding="5px" cellspacing="5px" style="margin-top:20px;">
<display:column title="Product Image" media="html">
<img alt="<s:property value="#attr.productTable.productName"/>" src="../uploaded_images/<s:property value="#attr.productTable.productImagesFileName"/>" >
</display:column>
</display:table>
你能给我理由给予否定吗? - 如果你想使用显示标签库来解决这个问题,这个问题是正确的。我已经解决了我的问题。如果你不明白这个问题,那么你可以要求发表评论。 –