org.apache.jasper.JasperException: /WEB-INFO/jsp/product/edit.jsp(168,45)

PWC6038:"${empty data.code?'001':fn:substring(data.code,0,8)}"

contains invalid expression(s):javax.el.ELException:Error Parsing:${empty data.code?'001':fn:substring(data.code,0,8)}

上面红色内容部分是错的,在问号'?'和冒号':'两边添加空格后就对了:

"${empty data.code ? '001' : fn:substring(data.code,0,8)}"

猜你喜欢

转载自www.cnblogs.com/Alwaysbecoding/p/9111179.html