Re: Creating your own ActionForm inside of an Action

2001-10-24 Thread Ted Husted
The ActionServlet creates the ActionForm bean in the processActionForm method, and populates it in the processPopulate method. See the source code for details. Though, I don't understand why you don't let the controller do this for you, by specifying the name of the ActionForm bean in the

Re: Creating your own ActionForm inside of an Action

2001-10-24 Thread Sandeep Takhar
Here is something I pulled from the archive and the latest discussion seem to indicate that this is how it works: 1. Controller receives request. 2. Controller looks up mapping for Action and what ActionForm to use. 3. Reset is invoked on the bean. N.B. The instance of the ActionForm either

Creating your own ActionForm inside of an Action

2001-10-23 Thread Tony Li
Hi everyone, I have a situation in which I would like to do the following: 1) I'm at a jsp page, let's call it a.jsp. It has one link that looks like: html:link page=/mainMenu.do?action=customer Customer /html:link 2) My mainMenu action in struts-config.xml looks like