<bean:define id="productintroduce" name="xxfbmore" property="title" type="java.lang.String"></bean:define> <%=(productintroduce.length()>=25?productintroduce.substring(0,25)+"...":productintroduce)%>
當標籤裏字符串太長了。可定義一個標籤。再截取
<bean:define id="productintroduce" name="xxfbmore" property="title" type="java.lang.String"></bean:define> <%=(productintroduce.length()>=25?productintroduce.substring(0,25)+"...":productintroduce)%>
當標籤裏字符串太長了。可定義一個標籤。再截取