how to stop execution after response.sendRedirect()
843836Jun 16 2005 — edited Jun 18 2005how to overcome this issue of stopping execution?
if( (token==null) || !(JimSession.isValid(token)))
{
response.sendRedirect("page.jsp"}
}
//code which generates error if token==null
This page throws NullPointerException even when the token == null and the response.sendRedirect code works...
thanks in advance...