I don't think that is possible. I think that each ENC is local, and private, to the application. For this reason, I always include a simple jsp in my application that I can use to get at the application's ENC. The jsp is posted at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83213
I do not see why the ENC for an EJB would be accessible via the JNDIView but the ENC for a web application would not be. From a J2EE perspective the ENC for an EJB or web application is equally local and private.
I think you may posted the wrong link, that contains a JSP for displaying the system properties. Not that I do not appreciate your effort. :-)
Oh shoot, I searched for the wrong code! I have two common jsps, one for the system properties, the other for JNDI. I thought I had a version of the JNDI jsp that was all-inclusive, but I can't seem to find it (perhaps on my laptop at home). The simplest version I can find is one that uses servlets, JSPs and the JSTL (I usually port this code to whatever framework I am studying). If interested, I could post it (without comments it's not too long, but I do have to clean it up some).