A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
servlet thread safe when sending large file
Joined: Jul 12, 2001
Mar 27, 2002 18:41:00
which gets large data files , depending on request to the client, while this be thread safe, how to make it thread safe other than using SingleThread interface
JAWA<br />(Jawahar Lal)
Joined: Feb 22, 2001
Mar 27, 2002 20:14:00
Sorry but I did not understand your question...
Author and all-around good cowpoke
Joined: Mar 22, 2000
Mar 28, 2002 05:17:00
Just like all
, the rule is you must use only local variables to be Thread safe. The amount of time the transaction takes doesn't matter. I would worry more about access to the file by other Threads.
Java Resources at
subject: servlet thread safe when sending large file
Multiple times submitting a form leads to errors in submission.
is servlet/jsp thread safe?
Static Variable in Servlet
thread safe servlet
ActionServlet Thread Safe
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014