Link to home
Start Free TrialLog in
Avatar of jwright9
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%><bean: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("applicationKeys");
boolean useOfSimilarCases = myAppKeys.isUsingRelatedCases();
%>

Avatar of Mick Barry
Mick Barry
Flag of Australia image

>

try:



ASKER CERTIFIED SOLUTION
Avatar of boonleng
boonleng
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial