jsp 页面上图片分行输出小技巧
导读:收集整理的这篇文章主要介绍了jsp 页面上图片分行输出小技巧,觉得挺不错的,现在分享给大家,也给大家做个参考。 <table border="0" cellpadding="2"&...
收集整理的这篇文章主要介绍了jsp 页面上图片分行输出小技巧,觉得挺不错的,现在分享给大家,也给大家做个参考。 table border="0" cellpadding="2">
c:foreach ITems="${ pics} " VAR="pic" varstatus="status">
c:if test="${ ((status.index)%3)==0} "> tr> /c:if>
td>
input class='Input-0-border' name="bk_no" tyPE="radio" value="${ pic.piccode} "
c:if test="${ status.index==0} "> checked/c:if>
onClick='changeVal(this.value)'/>
c:if test="${ not empty(pic.LOGoPath)} "> img src="${ pic.logoPath} "> /c:if>
c:if test="${ empty(pic.logoPath)} "> c:out value="${ pic.picname} "/> /c:if>
input type="hidden" name="bk_name" value="c:out value="${ pic.picname} "/> ">
/td>
c:if test="${ ((status.index+1)%3)==0} "> /tr> /c:if>
/c:forEach>
/table>
您可能感兴趣的文章:
- jsp输出金字塔的简单实例
- jsp输出九九乘法表的简单实例
- jsp输出当前时间的实现代码
- @L_406_3@
- JSP动态输出Excel及中文乱码的解决
- 动态jsp页面转PDF输出到页面的实现方法
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: jsp 页面上图片分行输出小技巧
本文地址: https://pptw.com/jishu/604857.html
