File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 3860

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: 61773
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jstl and HashMap null