On 11/16/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> The one thing to keep in mind if you go [one ActionForm] route is
> to be sure you don't have a field on one page
> with the same name as another.  I had one junior developer make that
> mistake and it drove him nuts trying to figure out what was wrong
> (obvious in retrospect, but one of those "tricky at the time" problems
> to solve).

I don't see right away how does this matter if you have separate
submits from a browser each time. Also would not matter if you
redirect between pages and don't intentionally stuff values into
redirected request. Redirected request comes clean, so same fields or
not - does not matter. This is why my two-phase request processing
works: POST comes with input data, form is populated, then I redirect
to the same action again, GET comes clean, form is not updated because
request contains no data.

Forwarded request brings all input data with it, and Struts applies
this data to another form. Been there ;)

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to