Because the sendRedirect method was called.
Remember, these are just
Java methods calling one another.
The rules don't change just because they're
servlets (or servlets generated by JSPs).
sendRedirect gets called, as soon as it's done, the code under is executed.