Solved

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

Posted on 2009-04-02
2
3,734 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
topping1 challenge 7 73
How to monitor the number of connections/threads being utilized on Tomcat 6.0 8 56
session migration servlets 2 26
Apps blocked by Java 9 63
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 second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now