Solved

Can boolean values be used in Struts logic:notEqual tags?

Posted on 2009-04-02
2
3,777 Views
Last Modified: 2013-11-24
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();
%>

0
Comment
Question by:jwright9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 92

Expert Comment

by:objects
ID: 24054772
>

try:



0
 
LVL 14

Accepted Solution

by:
boonleng earned 500 total points
ID: 24056082
try:


0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question