Does anyone know how to return null values in a bean (or how to handle
them gracefully). I'm using a bean that queries a database and some of the
records may be null. however when i do:

<jsp:getProperty ... />

and it returns a null value from the specified property, I get a 'null
pointer exception.'

Thanks in advance,
--Bill


 Bill Lynch -- [EMAIL PROTECTED]
   4charity.com        -- http://www.4charity.com
   University of Iowa  -- http://www.cs.uiowa.edu/~bmlynch
   CoolServlets.com    -- http://www.coolservlets.com
 ----------------------------------------------------------

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to