@Override
public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) throws Exception {
Context templateContext = Context.getCurrentThreadContext();
if (templateContext != null) {
templateContext.clear();
}
super.afterCompletion(request, response, handler, ex);
}
@Override