bean:define tag
"Damm, Gary" <[email protected]> Mon, 4 Nov 2002 18:44:03 -0800
| Newsgroups | gmane.comp.web.mvc.devel |
|---|---|
| Message-ID | <9DA7E13173328042AD6CE967ABC9B1FA349CB1__24585.0916406654$1036464204@NAEX01.na.qualcomm.com> |
Question: How do I handle nulls with the bean:define tag? I have a bean with a collection attribute. I use the define tag to put the collection into the page scope so I can iterate over it. But if the collection is null I get a null pointer exception (of course). Is there a way to use the existing taglibs that can deal with this situation or do I have to extend the library (or resort to putting code in my jsp)? _______________________________________________ MVC-Programmers mailing list [email protected] http://www.netbean.net/mailman/listinfo/mvc-programmers ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/JjlUgA/vN2EAA/kG8FAA/NhFolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/