> try
> 
> getApplicationSettings().setInternalErrorPage();
> 
> Call it in the init method of your application class.

 

I put this method in my application class.  The page I’m calling seems to work when I request it explicitly; however, when I get an application error Tomcat goes into an infinite loop.  What am I doing wrong?.

 

  protected void init() {

      try {

        getApplicationSettings().setInternalErrorPage(Class.forName("mem.P1_HomePage"));

      }

      catch (ClassNotFoundException e) {

        throw new RuntimeException(e);

      }

  }

Reply via email to