I just found out Spring MVC web stream. I am confused by this:
return new ModelAndView("test");
return new ModelAndView("redirect:test");
Is call forwarding the same as response.sendRedirect()? And I'm just checking the Spring link, in fact, return new RedirectView()doing the same thing as response.sendRedirect(). So what's the difference between the three?
source
share