Hi

I put simple test filter before cocoon servlet.

But I have a problem with it, because my Filter runs twice.
I run Cocoon on oracle OC4J.
There is just simple System.out.print in my filter just count the runs

        int runs=0;
        public void doFilter(
                ServletRequest request,
                ServletResponse response,
                FilterChain chain)
                throws IOException, ServletException {

        System.out.println("========= TestFilter " + ++runs + "
=========");
        chain.doFilter(request, response);

        }


When I tested filter on other servlets than cocoon everything was OK.
But when I mapped my filter to Cocoon servlet my filter runs twice.

Can anybody help ?

Thks.

Roman








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to