I'm not sure we're understanding each other about this request type. When a form is submitted, here's what happens:
* Struts receives a request for an action * Struts sees that a form was configured for the mapping, so it calls retrieves the form (if it can find it) or creates a new one [processActionForm()] * In [processPopulate()], Struts resets the form fields then populates them from request parameters If you're prepopulating your form, none of this matters, since either (1) you'll override the effect of reset() anyway inside your action, or (2) you'll be creating your form bean from scratch. Hubert On 10/12/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > That would be great, but please don't forget the request type. Usually > I need to do this for POST requests only, this separation by type is > really important to me. So instead of reset="true" I would rather > have: > > <form-property > name="someFlag" > type="java.lang.String" > initial="true" > reset="POST"/> > > where "reset" can be: > > * "true" or "ALL" to reset for any request type; > * "POST" or "GET" or "POST, GET" or "POST, GET, HEAD" > or whatever other possible types, can be comma-separated, > to reset for specific request types only. > > Michael. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]