Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2009-04-02
2
Medium Priority
?
3,839 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 2000 total points
ID: 24056082
try:


0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This video teaches viewers about errors in exception handling.
Suggested Courses

618 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