Struts2 <s:if> 标签的施用

Struts2 s:if 标签的使用标签用法如下: test中是用来,放表达式,不能嵌套EL表达 。?s:if test/s:if

Struts2 <s:if> 标签的使用

标签用法如下: test中是用来,放表达式,不能嵌套EL表达 。

?

<s:if test=''></s:if>

?

<s:if test="errorMsg == null or errorMsg==''">       //字符串为空.</s:if><s:else>      //字符串不为空.</s:else>

?