Bookmark Topic Watch Topic
  • New Topic

help with iterations!

 
Terry Huang
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have a javabean called MyFile that has getter and setter methods for: fileName, filePath...

I store the javabeans in a TreeMap (which is stored in another Map called Database, but thats not relevant)

in my jsp..:


I get an error :



but if I do this:


I get the correct infomation..
(822582126_l.jpg is the key in the TreeMap for the MyFile bean)


anyone know why? and how I can fix this?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65669
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!