I am using XML-RPC and am trying to use a ServletFilter to handle transaction code. The problem I am seeing is that the reponse is sent before control is returned to the filter. Below is a code sample where the filter throws and exception but this happens after the responce and the client has already continued on. Is there a way to overcome/handle this?
thanks in advance. public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { System.out.println("********** TestServletFilter called **********"); // Call the next filter (continue request processing) filterChain.doFilter(servletRequest, servletResponse); throw new RuntimeException("Boom from servlet filter"); } -- View this message in context: http://www.nabble.com/Servlet-Filter-can%27t-effect-XML-RPC-reply-tf4210537.html#a11977269 Sent from the Apache Xml-RPC - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]