2 Replies Latest reply on Sep 4, 2003 1:09 PM by maciek

    dispatcher.forward giving  StackOverflowError

    maciek Newbie

      hello

      I started writing writing a web module eclipse/lomboz for jboss/jetty

      when I try to use request dispatcher in main controller in doGet:

      String nextView;
      //...
      RequestDispatcher dispatcher = context.getRequestDispatcher(nextView);
      dispatcher.forward(request, response);


      I get the following error(no matter what view is choosen):
      17:44:36,419 WARN [jbossweb] WARNING: Error for /EDoktorWEBModule/ser
      java.lang.StackOverflowError

      However dispatcher gives no error when it is used from jsp page eg.
      <jsp:forward page="myview.jsp"/>

      any suggestions, folks?

      thanks in advance