• Post Reply Bookmark Topic Watch Topic
  • New Topic

jstl and HashMap null  RSS feed

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

If I use c:if test to see if a HashMap is null like below, it will not work. Why ?

Thanks.

 
Chinmaya Chowdary
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Edward.

Can you please post, what error message you are getting?
 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What "c.reportDataMap" contains (what are "c" and "reportDataMap")? What's the name of the Map attribute?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a reason you're mot using the empty operator?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!