wood burning stoves 2.0*
The moose likes JSP and the fly likes jstl and HashMap null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jstl and HashMap null" Watch "jstl and HashMap null" New topic
Author

jstl and HashMap null

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798

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

Joined: Apr 21, 2008
Posts: 432
Hi, Edward.

Can you please post, what error message you are getting?
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3826

What "c.reportDataMap" contains (what are "c" and "reportDataMap")? What's the name of the Map attribute?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

Is there a reason you're mot using the empty operator?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: jstl and HashMap null