On Wed, Jun 2, 2010 at 6:23 PM, kugaprakash <[email protected]>wrote:
>
> Hi,
> We are using Wicket 1.3.5 (Unable to upgrade to latest Wicket release,
> due to a CSRF fix needed for a previous release build) and I am doing
> the following:
>
What fix? Do you have a JIRA?
> if(e instanceof PageExpiredException || e instanceof
> HackAttackException){
> Session.get().invalidate();
> throw new RestartResponseException(new SessionExpiryPage());
> }
>
> In SessionExpiryPage.html - we have CSS & Logo resources, which is not
> getting rendered.
>
Try throw new RestartResponseException(SessionExpiryPage.class); instead of
creating a new page. Since you just invalidated the session, you will have
problems redirecting to an instance of a page that can not be found.
--
Jeremy Thomerson
http://www.wickettraining.com