Close
« Tutorial

Spring MVC - forward: Prefix MCQ

0/13
0 ✓
0 ✗

1. What does the forward: prefix do when it is returned from a controller method?

2. Which Servlet API method does Spring use to perform a forward?

3. After a forward is completed, what does the browser's address bar show?

4. How many round trips between the browser and the server happen when a forward is used?

5. Is the client browser involved when the server forwards a request to another URL?

6. What is the main difference between forward: and redirect:?

7. Which return value forwards the request to the URL /orders/list?

8. When a request is forwarded, what happens to the attributes stored in the Model?

9. Who prepares the forwarded URL, including any path variables and query parameters?

10. Which of the following is one way to send data to the target of a forward?

11. Which object can be used to pass attributes to the target controller method of a forward, instead of adding them to the URL?

12. Which type of forward is possible with the forward: prefix?

13. Which other special prefix does Spring provide for returning a URL from a controller, in a similar way to forward:?

Join