使用以下代码
<s:if test="#attr.row.Commentaire != null && #attr.row.Commentaire != ''">
该
if标签使用
test属性来评估OGNL表达为布尔值。
您可能还需要使用一个
a标签这使得可能与一起使用相结合的HTML锚标记
if标签
咨询财产的内容
还有一个
debug标签可用于包装其他标签,以向您显示将呈现调试数据的链接。
<s:debug> <s:property value="%{#attr.row.Commentaire}"/></s:debug>


