This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 3899
    
    9

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: 63196
    
  69

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Have you checked out Aspose?
 
subject: jstl and HashMap null
 
jQuery in Action, 3rd edition