title: How to break an ajax call and redirect control to error page..?
body: <p>I use MVC structure, with ExtJS as UI.</p>
  
  <p>I'm implementing a filter for session check. And if session is expired I wrote in the filter.java, a redirect like response.sendRedirect("error page");</p>
  
  <p>But it seems not working because, I'm triggering an ajax call everytime, and when the filter is obstructing it, it is showing that as a JS error, rather than redirecting..</p>
  
  <p>Is there anyway to avoid coding in every ajax call error?? Just simply redirect, not going back to ajax error part again??</p>