This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes Problem with equality test. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with equality test." Watch "Problem with equality test." New topic

Problem with equality test.

Scott Marshall

Joined: Sep 12, 2007
Posts: 2
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

Joined: Sep 12, 2007
Posts: 2
Forget this, I found the error. Apologies to everyone for a dumb error on my part.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63534

It would be helpful to future posters if you could let us know what your error was.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Problem with equality test.
It's not a secret anymore!