日期:2014-05-17  浏览次数:20557 次

struts2 ognl 正则去html标签字符串截取
 <s:property value="#con.body.replaceAll('<[^>]*>','').replaceAll(#con_title,'').substring(0,100)+'...'" escape="false"/>

??????去html标签并去掉第一个与#con_title重复的内容,然后截取前100