An extremely simplified explanation of
Struts is that first it populates your action class with the form parameters. Next it runs the execute method, and uses the struts.xml to determine where to forward the data. Finally it processes the
JSP, referencing the data set in the action class.
A more detailed explanation can be found
in this article.