How do you set the timeout value in Wicket without using the web.xml file; I am not using one. My project uses bookmarkable pages which I think prevent the session from timing out normally.
A:
To manipulate something like this from inside Wicket instead of the more usual way (through web.xml), you'll need to get hold of the actual HttpSession being used.
I haven't tried to do this, but this blog entry provides some hints of how to make this connection.
It's a bit old, so some of the details will have changed. The last comment to the blog provides an alternative to the main content of the blog and looks a bit more recent and more promising.
Don Roby
2010-07-30 21:45:39