문제

I am fetching all list of bean object, with I want to display images in between display tag columns from display tag library. How can I do? Also I want use Struts tag library in between display tag library. I did this but output not shown.

도움이 되었습니까?

해결책

<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>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top