THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
In your application class that extends WebApplication, set the following in the init() method:
Code Block | ||||
---|---|---|---|---|
| ||||
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.
...