|
<logic: iterate id = "news" name = "list">
<tr>
<td width = "76%"> · <a class="link1" href="news_show.jsp" target=_blank>
<bean: write name = "news" property = "name" /> </a> </ td>
<td width = "24%" height = "30" align = "center"> <bean: write name = "news" format = "yyyy-MM-dd" property = "createtime" /> </ td>
</ tr>
</ logic: iterate>
In the page, I use <bean: write name = "news" property = "name" /> to output the content of name, but the content of name is too long. I want to intercept characters of a certain length. Nothing can be achieved, please enlighten prawns !! |
|