On Fri, 20 Aug 2004 18:52:46 -0600, Lucero, Dennis M
<[EMAIL PROTECTED]> wrote:
> Does anyone know how to do this or why it does not work?
>
That's how java works. Java copies and passes the reference by value.
So assignments to a copy of the reference will not change the original
object.
Refer:
: Struts Users Mailing List
Subject: Re: form problem
Struts creates and stores the ActionForm in request or session scope. If
you
create a new form to replace the one automatically created by Struts,
you
also need to store it under the appropriate key in either the session
or
request.
Look at the
Struts creates and stores the ActionForm in request or session scope. If you
create a new form to replace the one automatically created by Struts, you
also need to store it under the appropriate key in either the session or
request.
Look at the the processActionForm() method in RequestProcessor -
Try the Bean.populate() method. This will make copying from different beans
much easier.
-Original Message-
From: Lucero, Dennis M [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 5:53 PM
To: [EMAIL PROTECTED]
Subject: form problem
Does anyone know how to do this or why it does n
4 matches
Mail list logo