I found that with Tomcat 6.0.8, I didn't need to initialize the JspRuntimeContext, however my ELResolver is never actually hit. I placed print outs in the constructor and all the overridden methods of my ELResolver to determine if they were ever called. Only the constructor is ever called.
The following code is in the listener. It runs, because I see the constructor print out. public void contextInitialized(ServletContextEvent servletContextEvent) { ServletContext servletContext = servletContextEvent.getServletContext(); JspFactory jspFactory = JspFactory.getDefaultFactory(); JspApplicationContext jspApplicationContext = jspFactory.getJspApplicationContext(servletContext); jspApplicationContext.addELResolver(new DCELResolver()); } When the pages are rendered, the getValue method and others are never called. I was certain to make sure no resolvers are in faces-confg.xml. Is there anything else that may cause the resolver stack to get recreated as the default, and thus losing my resolver? srowen wrote: > > I am seeing the same problem, via a different route. Check this out -- it > solves this specific problem for me: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=39804 > > I made a simple listener which calls > Class.forName("org.apache.jasper.compiler.JspRuntimeContext"); first > > Sean > -- View this message in context: http://www.nabble.com/Tomcat-6.0.8---JSF-1.2-RI-tf3059080.html#a8699791 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]