RE: EL - access to nonexisting property, but no error ?

2009-08-26 Thread Martin Gainty
not when isELIgnored=true %@ page isELIgnored =true % http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html is this the case for your page? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese

Re: EL - access to nonexisting property, but no error ?

2009-08-26 Thread Tim Funk
Put this in a JSP all by itself - you should get an error (or at least - I did): %request.setAttribute(aList, new java.util.ArrayList());% ${aList.a} Not sure why yours did not produce an erro - a more complete snippet would be needed. -Tim David Balažic wrote: versions: Tomcat 5.5.28,

Re: EL - access to nonexisting property, but no error ?

2009-08-26 Thread David Balažic
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