Java Servlets

Struts Flow

  1. User submits form, goes to URL something.do
  2. struts-config.xml maps that something to an Action class (that is, a class you define which extends Action)
  3. The execute method on that class is executed, it is passed a form bean
  4. This method places all its results in beans.
  5. A JSP page is chosen (by struts-config.xml) as the response to the user. Page can use bean:write

José M. Vidal .

89 of 89