tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David BalaĹžic <xerc...@gmail.com>
Subject Re: EL - access to nonexisting property, but no error ?
Date Wed, 26 Aug 2009 14:21:53 GMT
Martin, I have no isELIgnored=true

But I figured it out.
I had an object (bean), that had a property/method :
List getMyList()

Then I used an EL:
${theBean.myList.a}

This would cause an error , except if getMyList() returns null!
Then it is a null.something EL, which gives no error.

Thanks for your help.

David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message