0 Replies Latest reply on Mar 30, 2009 2:43 PM by sureshrk19

    response.setXXX() before rd.include()

      Hi,

      I'm using the following code snippet in one of my applications...

      -------------
      response.setDateHeader("...",xx);
      response.setStatus(304);

      RequestDispatcher rd = request.getRequestDispatcher("abc");
      rd.include(req,res);
      -----------

      I'm getting stream already closed error message on the console. It seems, response.set is committing the response.
      Is this true??

      How could I make the steam open till include call??

      PS: I verified with other app.servers and I don;t see any problem with the same code.

      Thanks,
      Suresh