Struts的标签及JSTL和EL表达式的使用总结

<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<c:if test="${empty viewMembers.realName}">
<p style="color:red">您还未实名,请务必先实名!</p>
</c:if>
<c:if test="${not empty viewMembers.realName}">
<p style="color:#333;">您的实名认证名为<span>${viewMembers.realName}</span>,请务必用此名字的银行卡提款!</p>
</c:if>

posted on 2020-03-24 11:03  ${}  阅读(191)  评论(0编辑  收藏  举报

导航