404 redirect before application is loaded by server

2014-01-05 Thread Steve
I've solved this problem before but can't remember how I did it. The wicket-el example app is running on google app engine which unloads the instance if it's not accessed for a period of time. This is ok if the next user hits the "/" url first but if they try to hit any mounted urls e.g. /ajax th

Re: 404 redirect before application is loaded by server

2014-01-05 Thread Paul BorČ™
Can't you simply invalidate the user session and have Wicket redirect to / when that happens? Another idea, have an Ajax timer refresh those resources so they don't time out :) Have a great day, Paul Bors > On Jan 5, 2014, at 7:55 AM, Steve wrote: > > I've solved this problem before but

Re: 404 redirect before application is loaded by server

2014-01-05 Thread Steve
oops... Seems I had a little brain fade. I was mounting the urls in the onInitialize method of the common page superclass so they aren't mounted until you hit the home page which is the only page accessible at that point. Not a good design idea ;) On 06/01/14 08:09, Paul BorČ™ wrote: > Can't you si