1 Reply Latest reply on Apr 8, 2002 6:26 AM by Christer Grimsaeth

    forward to JSP does not work

    Sascha Bur Newbie

      Hi there,

      I'm running tomcat inside JBoss. My front end servlet tries to forward a request to a JSP page. This page is located in the servlet's root directory (./deploy/handle.war/). Following error message apears:

      [INFO,Default] JBoss-2.4.4 Started in 1m:50s.68
      [INFO,Default] 05.04.2002 16:56:39:485; ERR; FipoFrontController; sess=644523F7F532372177344034F2C52384; service; failed
      to forward request to jsp class; javax.servlet.ServletException: RequestDispatcher for '/template.jsp' is null (jsp nam
      e was 'template.jsp')
      javax.servlet.ServletException: RequestDispatcher for '/template.jsp' is null (jsp name was 'template.jsp')
      at ch.postfinance.fw.web.ViewHelper.forward(ViewHelper.java:79)
      at ch.postfinance.fw.FrontController.serviceViewUpdate(FrontController.java:195)
      at ch.postfinance.fw.FrontController.service(FrontController.java:100)

      Why does the RequestDispatcher not find the JSP?
      Do I need to configure a JSP compiler servlet manually?
      (*.jsp -> org.apache.jasper.servlet.JspServlet)

      Any comments are welcomed.

      Kind regards...

      sascha