Hi,

I have migrated my application recently from Tapestry 5.0.18 to 5.1.0.5.

I was handling session in my application previously (5.0.18) as:

If (!visitExists) {
  sessionState.setSessionExpired(false);
  _reqestGlobals.getResponse().sendRedirect(pageName); // start page
}

but this is not working anymore in 5.1.0.5. I tried with httpServletResponse
or Response as well... but it gave me the same NPE.

My requirement is if session fails, redirect it to start page where it will
show the message. Please help me to resolve this issue.

Thanks,
DK
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/SendRedirect-is-giving-NullPointerException-tp5542265p5542265.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to