I created an issue after analzing the original problem: https://issues.apache.org/jira/browse/MYFACES-3587
Should i also create an issue because disable SUPPORT_JSP_AND_FACES_EL requires to set the EXPRESSION_FACTORY? Or is it be design? 2012/7/25 Thomas Andraschko <zoi...@googlemail.com> > Ah, sorry! I got another exception now: > > javax.faces.FacesException: Cannot find a valid PDL for view id null. > > So the third question is, isn't there any viewId == null check? > > > 2012/7/25 Thomas Andraschko <zoi...@googlemail.com> > >> Hi, >> >> i get following error if i try to open a page, which does not exist: >> Cannot reset buffer after response has been committed >> >> As far as i can see, the JspViewDeclarationLanguageStrategy handles the >> "null" viewId and if i return "false" in #isHandle, it works without >> problems. >> Why JspViewDeclarationLanguageStrategy handles also the "null" viewId? >> >> I looked at the code and org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL >> should disable the JspViewDeclarationLanguageStrategy, right? >> If i set this context param to false, i get follwing exception on startup: >> An error occured while initializing MyFaces: No >> javax.el.ExpressionFactory found. Please provide <context-param> in >> web.xml: org.apache.myfaces.EXPRESSION_FACTORY >> >> Why is it required to manually set the ExpressionFactory? We use Jetty on >> localhost and JUEL/Tomcat on our servers. >> >> Thanks! >> Thomas >> >> >> >> >