Hi all,

I've create a web application with myfaces and it runs well till now. But after 
I fill an own filter in the web.xml, I can't see the GUI anymore. The page is 
just a blank page. Why?

The filter I filled into the web.xml looks as follow:
******
...
<filter>
  <filter-name>JPAFilter</filter-name>
  <filter-class>cashregister.persitence.JPAFilter</filter-class>
</filter>

<filter-mapping>
   <filter-name>JPAFilter</filter-name>
   <url-pattern>*.jsf</url-pattern>
</filter-mapping>
...

And the JPAFilter.java looks as follow which just implents the 
javax.servlet.Filter and all the functions hat no content:
******
public class JPAFilter implements Filter {
    
    private static Logger log = Logger.getLogger( JPAFilter.class );
    
    public void doFilter(ServletRequest request, ServletResponse response, 
FilterChain chain) throws IOException,
            ServletException {
        ;
    }
    public void init(FilterConfig arg0) throws ServletException {
        ;
    }

    public void destroy() {
        ;
    }

}

       
---------------------------------
 Alles was der Gesundheit und Entspannung dient.BE A BETTER MEDIZINMANN!

Reply via email to