In Controller:
model.put("result", "success");
In the interceptor:
String result = (String) modelAndView.getModel().get("result");
In Controller:
model.put("result", "success");
In the interceptor:
String result = (String) modelAndView.getModel().get("result");