Hi

   I have the following line in my jsp...

<h:outputText id="spouse" 
value="#{manageProfileFace.bioHelper.spouse.firstName}"/>

The object "spouse" is null. But I am not getting a NullPointerException !! 
Why? Does the JSF handle nulls and does not throw an exception ? What happens 
in case if the method returns a boolean ? For example..

<h:outputText id="spouse" value="#{manageProfileFace.bioHelper.spouse.exists}"/>

In my situation isExists is always returning false if  "spouse" is null.

Please help

TIA.
-Srikanth Madarapu

Reply via email to