Multiple choice technology architecture

Which among the following happens in PRG pattern?

  1. For displaying screen there is GET request, for changing status of server POST request is made.

  2. In struts-config.xml file in the action tag "redirect=false" will be there.

  3. When the page is refreshed GET request is made.

  4. Only 1

  5. Only 1&3

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

PRG (Post-Redirect-Get) pattern uses POST for state-changing requests and GET for display, preventing duplicate submissions on refresh. When a PRG page is refreshed, only a GET request is made, not the original POST. Option 2 about struts-config.xml is not a defining characteristic of PRG.