:-)) yes you was right, sorry for this stupid taks :-) I was tired yesterday. It was happenning when I tested my app - refreshing page in mozilla I miss that there was also request to CSS style :-), sorry.
Roman -----Původní zpráva----- Od: Joerg Heinicke [mailto:[EMAIL PROTECTED] Odesláno: 27. novembra 2003 21:04 Komu: [EMAIL PROTECTED] Předmět: Re: cocoon with servlet Filter - running twice I wonder how Cocoon (= a servlet) should influence servlet container behaviour? Isn't the filtering independent on the things the servlet does? Are you sure that not two requests are sent (e.g. using Adobe PDF plugin with IE)? Joerg On 27.11.2003 11:41, Roman Hrivik wrote: > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
