springmvc modelandview 设置默认值

133 阅读1分钟
${表达式!默认值} //注意中间的感叹号
如:
销量:${product.SALE_COUNT!0}
默认值就是0