bean:define tag

"Damm, Gary" <[email protected]>
Newsgroups gmane.comp.java.mvc.devel
Message-ID <[email protected]>
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)?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.