Code
<c:if test="#{a开发者_如何学Gottr1 && !attr2 && (empty attr3)}">
Error returned
The entity name must immediately follow the '&' in the entity reference.
I simply need to check if attribute 1 is true, attribute 2 is false and attribute 3 is not set. Tried without parentheses on first chance, same result.
Thank you
It expects entity name, like &. You can use & & or replace it with and for better readability.
The reason for the behavior you're seeing is that & is a reserved character in XML. Replace with & or and like n0weak advised.
加载中,请稍侯......
精彩评论