Re: Session-scoped forms and synchronization...

2003-10-30 Thread Jing Zhou
- Original Message - From: "Bob Lee" <[EMAIL PROTECTED]> To: "Struts Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 10:00 AM Subject: Re: Session-scoped forms and synchronization... > Craig R. McClanahan wrote: > > > We

Re: Session-scoped forms and synchronization...

2003-10-28 Thread Bob Lee
Craig R. McClanahan wrote: Well, you can get more than one *created*, but only one will actually be stored as a session attribute if the attribute name is the same. Synchronizing the session.setAttribute() method would be pointless; the container guarantees that this won't break anything. So,

Re: Session-scoped forms and synchronization...

2003-10-27 Thread Craig R. McClanahan
Bob Lee wrote: I looked at the latest source and it doesn't appear to synchronize. Though you could fix this using a custom RequestProcessor, I think it qualifies as a bug. First, it should synchronize form creation. Right now more than one instance of a session-scoped form can be created. Wel

Re: Session-scoped forms and synchronization...

2003-10-27 Thread Bob Lee
I looked at the latest source and it doesn't appear to synchronize. Though you could fix this using a custom RequestProcessor, I think it qualifies as a bug. First, it should synchronize form creation. Right now more than one instance of a session-scoped form can be created. Second, it should

Session-scoped forms and synchronization...

2003-10-27 Thread Bob Lee
Does Struts synchronize on session-scoped forms? For example, can I assume that Stuts won't modify the fields on a session-scoped form in response to one request while an action is still using it? Someone on the user list says that it does not. Thanks, Bob --