struts2 ognl 正则去html标签字符串截取
<s:property value="#con.body.replaceAll('<[^>]*>','').replaceAll(#con_title,'').substring(0,100)+'...'" escape="false"/>
去html标签并去掉第一个与#con_title重复的内容,然后截取前100
<s:property value="#con.body.replaceAll('<[^>]*>','').replaceAll(#con_title,'').substring(0,100)+'...'" escape="false"/>
去html标签并去掉第一个与#con_title重复的内容,然后截取前100
暂无评论。
评论功能维护中,当前仅展示历史评论。