velocity中如下语句:
#set($u=$content.indexOf(">",$x))
因为有">"所以被当成HTML语句读出的,vm页面倒是能运行
但tomcat报错了:=> Left side ($u) of subtraction operation has null value. Operation not possible.
请教如何解决
#set($u=$content.indexOf(">",$x))
因为有">"所以被当成HTML语句读出的,vm页面倒是能运行
但tomcat报错了:=> Left side ($u) of subtraction operation has null value. Operation not possible.
请教如何解决
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货