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?
Thanks,
Bob
-
To
Nope, don't think so.
Quoting Bob Lee [EMAIL PROTECTED]:
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?
Thanks,
Bob
--
Kris Schneider
I assume this is a bug then, because there's no way for me to do this.
It has to be done within Struts.
Bob
Kris Schneider wrote:
Nope, don't think so.
Quoting Bob Lee [EMAIL PROTECTED]:
Does Struts synchronize on session-scoped forms? For example, can I
assume that Stuts won't modify
hmmm. may be this not an bug...as struts ActionServlet extends Java
Servlets .
And Java Servlet is not not thread safe
FYI: same goes for application attributes..
Bob Lee wrote:
I assume this is a bug then, because there's no way for me to do this.
It has to be done within
of the previous request that might still be using the form.
Pete
-Original Message-
From: Manish Singla [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 28 October 2003 8:25 a.m.
To: Struts Users Mailing List
Subject: Re: Session-scoped form and synchronization...
hmmm. may be this not an bug
Bob Lee wrote:
I assume this is a bug then, because there's no way for me to do this.
It has to be done within Struts.
It depends on what precisely you think needs to be synchronized:
* Adding attributes to the session, or removing them from the session:
The servlet container takes care of
generated images,
for example).
* User starts a long request, presses stop, starts a second request.
Pete
Craig
-Original Message-
From: Manish Singla [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 28 October 2003 8:25 a.m.
To: Struts Users Mailing List
Subject: Re: Session-scoped form
Craig R. McClanahan wrote:
Unfortunately, having frames is *not* the only scenario where you have
to worry about multiple simultaneous requests. Two simple additional ones:
* Your app contains img tags that point back into your app
(dynamically generated images,
for example).
* User
Geeta Ramani wrote:
at we at least disabled one of our
testers from being too click-happy..;)
I hear that.
--
Victor Cekvenich,
Struts Instructor
(215) 321-9146
Advanced Struts Training
http://basebeans.com/do/cmsPg?content=TRAINING Server Side Java
training with Rich UI, mentoring, designs,
To: Struts Users Mailing List
Subject: Re: Session-scoped form and synchronization...
Peter Abbot wrote:
Generally if you are using a browser based interface to execute a
servlet requests (except if using frames) the user can only send one
request at a time. So if you are using a action
10 matches
Mail list logo