• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jstl and HashMap null

 
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: 434
  • 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
Pie
Posts: 3918
10
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
Pie
Posts: 65229
95
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