[英]How do I hide and unhide a link on a jsp page based on the value of another label on the same jsp using beans?
如何根據同一jsp上另一個標簽的值隱藏和取消隱藏jsp頁面上的鏈接?
您仍然可以將表達式語言與bean一起使用。
<label for="...">${myBean.label}</label>
<c:if test="${myBean.label eq ''}">
...
</c:if>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.