reload button.
...
The "unit of control" in a Front Controller environment is generally not a servlet at all, but rather a delegate class that implements an interface that the Front Controller uses to manipulate the controller unit. Because these delegate classes represent operations to be performed, they themselves are instances of a pattern known as the Command Pattern and are therefore usually termed Commands.
...
...
The PRG Technique described previously also applies in the Front Controller scenario in which Commands can be Task Commands (typically non-idempotent, operational) or Page Commands (always idempotent, page preparatory).
...
...
* A GET request is made identifying the data to be displayed to a Page Controller.
* The Page Controller gathers the data from the business tier and places it on the request as scoped variables.
* The Page Controller forwards to the JSP page which display the data.
...
* A POST request is made to a Task Controller with data need to complete the controller's task.
* The Task Controller instructs the business tier to perform the appropriate operation(s).
* The Task Controller redirects to the appropriate Page Controller to display the results of the operation, which then follows the steps outlined in the previous scenario.
Originally posted by kwame Iwegbue:
user reloads page.
again mapped to MyFrontControllerServlet.
again doDeleteTask is called