Struts2 <s:if> 标签的使用
标签用法如下: test中是用来,放表达式,不能嵌套EL表达 。
?
<s:if test=''></s:if>
?
<s:if test="errorMsg == null or errorMsg==''"> //字符串为空.</s:if><s:else> //字符串不为空.</s:else>
?
发布时间: 2012-09-28 00:03:35 作者: rapoo
Struts2 <s:if> 标签的使用
标签用法如下: test中是用来,放表达式,不能嵌套EL表达 。
?
<s:if test=''></s:if>
?
<s:if test="errorMsg == null or errorMsg==''"> //字符串为空.</s:if><s:else> //字符串不为空.</s:else>
?