Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Problem with equality test.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I'm relatively new to the JSTL, but I've got a few pages working. Now I'm having problems with this equality test. The code looks like :


When this is run I get this result :


They are NOT equal
List 533
End Index 533
Max Number 534



Somethings going wrong with the equality test.
The pages uses the imports


Does anyone see anything obvious ?
the fn function works when displaying the length of the list. I've used both == and eq to no noticeable effect.
Advice very much appreciated.
 
Scott Marshall
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forget this, I found the error. Apologies to everyone for a dumb error on my part.
 
Marshal
Posts: 67416
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be helpful to future posters if you could let us know what your error was.
    Bookmark Topic Watch Topic
  • New Topic