1 Reply Latest reply on May 6, 2008 6:40 AM by dxxvi

    Blank page with jsf 1.2_07 + richfaces 3.2.0.GA

    jsf-user

      I am using jsf 1.2_07 version + richfaces 3.2.0.GA. Some of the jsp pages are displayed as blank page. The logs doesn't show any exceptions/errors. The STATE_SAVING_METHOD is server. I tired event changing it to client, but the same problem.

      Any help appreciated!

      My web.xml

      <?xml version="1.0"?>
      
      <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
       <context-param>
       <param-name>com.sun.faces.expressionFactory</param-name>
       <param-value>org.apache.el.ExpressionFactoryImpl</param-value>
       </context-param>
      
       <context-param>
       <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
       <param-value>client</param-value>
       </context-param>
      
       <context-param>
       <param-name>com.sun.faces.enableRestoreView11Compatibility</param-name>
       <param-value>true</param-value>
       </context-param>
      
       <servlet>
       <servlet-name>Faces Servlet</servlet-name>
       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
       <load-on-startup>1</load-on-startup>
       </servlet>
      
       <servlet-mapping>
       <servlet-name>Faces Servlet</servlet-name>
       <url-pattern>*.faces</url-pattern>
       </servlet-mapping>
      
       <filter>
       <filter-name>ExtensionsFilter</filter-name>
       <filter-class>
       net.em.emrp.filters.EMExtensionsFilter
       </filter-class>
       <init-param>
       <param-name>uploadMaxFileSize</param-name>
      <param-value>10m</param-value>
       </init-param>
       <init-param>
       <param-name>uploadThresholdSize</param-name>
       <param-value>100k</param-value>
       </init-param>
       </filter>
      
      
       <filter>
       <filter-name>ResponseOverrideFilter</filter-name>
       <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
       </filter>
      
       <session-config>
       <session-timeout>
       720 <!-- minutes -->
       </session-timeout>
       </session-config>
      
       <filter-mapping>
       <filter-name>ExtensionsFilter</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       </filter-mapping>
      
       <filter-mapping>
       <filter-name>ResponseOverrideFilter</filter-name>
       <url-pattern>*.do</url-pattern>
       </filter-mapping>
       <filter-mapping>
       <filter-name>ResponseOverrideFilter</filter-name>
       <url-pattern>*.jsp</url-pattern>
       </filter-mapping>
       <filter>
       <display-name>Ajax4jsf Filter</display-name>
       <filter-name>ajax4jsf</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       <init-param>
       <param-name>log4j-init-file</param-name>
       <param-value>log4j.xml</param-value>
       </init-param>
       <init-param>
       <param-name>forceparser</param-name>
       <param-value>true</param-value>
       </init-param>
       </filter>
      
       <filter>
       <display-name>Ajax4jsf Filter</display-name>
       <filter-name>ajax4jsf</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
      
       <filter-mapping>
       <filter-name>ajax4jsf</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>
      
       <filter>
       <display-name>RichFaces Filter</display-name>
       <filter-name>richfaces</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
       <filter-mapping>
       <filter-name>richfaces</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>
      
       <welcome-file-list>
       <welcome-file>index.jsp</welcome-file>
       </welcome-file-list>
      
       <error-page>
       <error-code>404</error-code>
       <location>/error404.html</location>
       </error-page>
      
       <error-page>
       <error-code>500</error-code>
       <location>/error500.html</location>
       </error-page>
      
       <taglib>
       <taglib-uri>http://ajaxtags.org/tags/ajax</taglib-uri>
       <taglib-location>/WEB-INF/ajaxtags.tld</taglib-location>
       </taglib>
      </web-app>