10 Replies Latest reply on Jun 7, 2007 9:33 AM by radhesh

    getOutputStream() has alredy been called exception

      I use MyFaces implementation of JSF
      Now, when I try to use any of the Ajax4jsf components in my page, I get this "illlegalStateException; getOutputStream() has already been called.." exception.
      The only reason I can think of is one of my filters forwarding the request (using request.forward) to the target resource (JSP or another servlet itself). Can this be the cause of this exception that the Ajax4jsf filter is not able to write to the response stream after the request has already been forwarded? Should I be using Request or Response wrappers in between?

      In MyFaces scenario, where MyFacesExtension filter is also configured, what is the call sequence?

      Thank you,
      Rads