<p>
<s:if test="null != newss && !newss.isEmpty()">
<s:iterator value="newss" var="newsss">
<a href="ArticleAction?id=<s:property value="#newsss[2]"/>">
<b><s:property value="#newsss[0]"/></b>
</a>
<s:property value="#newsss[1]"/>
</s:iterator>
</s:if>
</p>
红色部分文字过长怎么截取
------解决方案--------------------

------解决方案--------------------
if(value.length>80){
alert("策略名称不能超过80字!");
$("#strategyName").val(value.substring(0,80));
}
把你那个值传进来
------解决方案--------------------
获取这个表链的值 然后用我2楼发的方法
------解决方案--------------------
何不放在table标签里,设置td标签样式为overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap;,如果想鼠标移到该标签时显示全部文字,设置title属性title="显示的全部内容"
------解决方案--------------------
用El表达式吧,类似这种
<a title="${cpy.name}" href="../mattersApplication/mattersApplication.do?method=newMatters&BusinessId=${cpy.templateId}&formId=${cpy.formId}" target="_black">
<c:set var="repStr2" value="${fn:substring(cpy.name,0,15)}${'...'}" />
${fn:length(cpy.name)<15? cpy.name : repStr2}
</a>