Thanks, you are right. I forgot to call chain.doFilter().


Thomas Fischer <[EMAIL PROTECTED]> schrieb: Did you call 
chain.doFilter(request, response) in your doFilter method ?

The filter must explicitly tell the filter chain to proceed, otherwise it
does just nothing and returns without rendering anything.

    regards,

        Thomas


Thomas Chang  schrieb am 26.09.2007 12:44:12:

> 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:
> ******
> ...
> 
>   JPAFilter
>   cashregister.persitence.JPAFilter
> 
>
> 
>    JPAFilter
>    *.jsf
> 
> ...
>
> 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!



       
---------------------------------
 Wissenswertes für Bastler und Hobby Handwerker.BE A BETTER HEIMWERKER!

Reply via email to