jwright9
asked on
Can boolean values be used in Struts logic:notEqual tags?
Can boolean values be used in Struts logic:equal tags? I'm having trouble getting the following to work in a JSP:
<logic:notEqual id="useOfSimilarCases" value="true">
<%=useOfSimilarCases%><bea n:write name="details" property="crumbName" />
</logic:notEqual>
The notEqual tag is not working.
This is how I am getting useOfSimilarCases:
<%
ApplicationKeys myAppKeys = (ApplicationKeys) session.getAttribute("appl icationKey s");
boolean useOfSimilarCases = myAppKeys.isUsingRelatedCa ses();
%>
<logic:notEqual id="useOfSimilarCases" value="true">
<%=useOfSimilarCases%><bea
</logic:notEqual>
The notEqual tag is not working.
This is how I am getting useOfSimilarCases:
<%
ApplicationKeys myAppKeys = (ApplicationKeys) session.getAttribute("appl
boolean useOfSimilarCases = myAppKeys.isUsingRelatedCa
%>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
try: