Hallo Tapestry-Users,
I got a redirectException, when i try to catch a staleSessionException.
My method (my class extends BaseEngine) looks like:
protected void handleStaleSessionException(IRequestCycle cycle,
StaleSessionException exception)
{
log.info("EnterHANDLESTALESESSIONEXCEPTION!!");
logout();
final HttpSession session = cycle.getRequestContext().getSession();
log.info("Create New Session!");
cycle.getRequestContext().createSession();
String newURL = "http://localhost:8080/Test/app"
cycle.sendRedirect(newURL);
log.info("Exit HANDLESTALESESSIONEXCEPTION!!");
}
I got a a RedirectException at line "cycle.sendRedirect(newURL);".
Whats wrong?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]