forward:
Learn forward: (Model & View, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes forward: is a prefix on a view name, as in new ModelAndView("forward:/home") ; Spring creates an InternalResourceView that forwards the request. Handled by UrlBasedViewResolver , which detects the prefix before adding the configured prefix and suffix. Result : the same request is dispatched to another path, and the model is exposed as request attributes.