It doesn't give me an error if I do session.setAttribute("myform", myForm);
after I do the removeattribute. It just keeps the "incorrect" data in the
form.
I just tried it without doing the removeattribute, and it still leaves the
wrong data. (No crashes though...)
Matt Bathje
----- Original Message -----
From: "Geeta Ramani" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 10:43 AM
Subject: RE: session form "reset"
> How about just this: (iow, don't add the
"session.removeAttribute("myform"); bit. That's the part that gives you the
error, right?)
>
> >
> > myForm.set("mybean", mybean);
> > request.setAttribute("mybean", mybean);
> > session.setAttribute("myform", myForm);
>
> Won't that work for you?
> Geeta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]