Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In your application class that extends WebApplication, set the following in the init() method:

Code Block
java
java

getApplicationSettings().setPageExpiredErrorPage(myExpiredPageMyExpiredPage.class);
getApplicationSettings().setAccessDeniedPage(MyAccessDeniedPage.class);
getApplicationSettings().setInternalErrorPage(MyInternalErrorPage.class);

There are also some other neat settings you should check out in getApplicationSettings(), getDebugSettings(), getExceptionSettings(), getMarkupSettings(), getPageSettings(), getRequestCycleSettings(), getSecuritySettings and getSessionSettings(). See the javadoc for more information.

...