Filter « Servlet « JSF Q&A

1. How do a web filter in JSF 2?

I create this filter :

public class LoginFilter implements Filter {

    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {


2. Disabling browser cache JSF

I'm getting a ViewExpiredException when I'm at my login page, it is not supposed to be. So I read a post (recommended by BalusC) on Filters. It might be that the ...

3. PhaseListener vs Servlet Filters

4. New question on SERVLET filter