Ben,

To me it looks like ActionServlet.java

Case
doGet() and doPost() call
method ActionServlet.process() (process HTTP request) calls
ActionServlet.processPopulate()
which calls the formInstance.reset() method.

// Populate the bean properties of this ActionForm instance
        if (debug >= 1)
            log(" Populating bean properties from this request");
        formInstance.reset(mapping, request);
        //place the mapping's multipart request handler class
        //into the request to be read by the BeanUtils.populate
        //method in the event of a multipart request
        request.setAttribute("org.apache.struts.action.mapping.multipartclass",

                                mapping.getMultipartClass());
        //also pass the mapping through the request
        request.setAttribute("org.apache.struts.action.mapping.instance",
                                mapping);
        BeanUtils.populate(formInstance, mapping.getPrefix(),
                           mapping.getSuffix(), request);



"SHROM,BENJAMIN (HP-USA,ex1)" wrote:

> Hello,
>
> When does reset(..) in ActionForm being called ?
>
> >From API:
>         "This method is called before the properties are repopulated by the
> controller servlet."
>
> What are the cases when it happens?
>
> Regards,
> Benjamin.

Ron

begin:vcard 
n:Bolin;Ronald  (Ron) L.
tel;cell:770-633-8722
tel;home:770-992-8877
tel;work:404-648-5675
x-mozilla-html:FALSE
url:http://www.hp.com/go/security
org:Internet Systems & Security Lab (ISSL);Internet Security Division
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Scientist
adr;quoted-printable:;;20 Perimeter Summit Blvd=0D=0AMS 1110;Atlanta;Georgia;30319;US
fn:Ron Bolin
end:vcard

Reply via email to