aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with equality test." Watch "Problem with equality test." New topic
Author

Problem with equality test.

Scott Marshall
Greenhorn

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
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: Problem with equality test.