2 Replies Latest reply on Feb 5, 2004 4:39 AM by phoodude

    RequestDispatcher.forward() too slow

    phoodude Newbie


      I'm using a RequestDispatcher to forward from a servlet to a jsp page:

      RequestDispatcher dispatcher = request.getRequestDispatcher("/somepage.jsp");
      dispatcher.forward(request, response);

      It works, but the server 'hangs' for several seconds on the dispatcher.forward() method, regardless of the kb size of the jsp document...

      The first dispatch is a bit slow due to compiling (as expected), but so are all subsequent dipatches.

      Has anyone else experienced this?