Skip to main content

Forward

Learn Forward (Model & View, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes Forward hands the same request to another resource on the server, using RequestDispatcher.forward ; the browser does not know it happened. Effect : the URL in the address bar stays the same, and request attributes and the model are still available. Use it to reuse another handler, or to render a JSP, without an extra round trip.

More lessons in Model & View