Hmm... I would have expected null as well... send a note to the OGNL lists...
-----Original Message----- From: Fred Lamuette [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 1:13 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] [OGNL] strange (?) behavior I know this problem is not obviously in the scope of this mailing list, but I'd like to know if I'm dreaming. public class Bar { private String name; ... } public class Foo { private Bar bar; ... } Executing Ognl.getValue("bar.name",foo) generates an exception when bar is null. It was not the expected result ... I expected to a null value. Maybe I am accustomed too much to BeanUtils from the Jakarta Project ... Cheers. Richard. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork