<struts:if test="null!=pushAd&&pushAd.length()>14"> <struts:property value="pushAd.substring(0, 14)"/>... </struts:if> <struts:else> <struts:property value="pushAd" /> </struts:else>
struts2截取字符串
原文:http://www.cnblogs.com/Nbge/p/3532780.html