The sequence of ModelDriven and Prepare?
问题 I put the println() in each method of Action class. public String execute() throws Exception { System.out.println("execute"); //... } public void prepare() throws Exception { System.out.println("prepare"); //... } public Object getModel() { System.out.print("getModel"); //... } I thought the order would be; prepare → execute → getModel. Because I remember I read it in the book, so I used to construct beans class and do some logics in prepare() , and just return SUCCESS in execute() . And I