Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有一些字符串属性的会话 bean。
如何从 jsp 页面访问它及其属性,检查其中一个是否等于给定字符串?
我想我必须使用<c:choose>和<bean:write>标记,但是如何?一个例子?
<c:choose>
<bean:write>
<c:if test="${beanName.beanProp == 'the string'}"> It's equal. </c:if>