• Post Reply Bookmark Topic Watch Topic
  • New Topic

File access from servlets - Concurrency(Urgent)

 
Thomas Joseph
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I need to access a file for read/write from two different servlets. How can i ensure concurrency ?i.e I dont want the file to be accessed by one servlet while it is being written into by another.
Thanks in advance.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't post the same question to multiple forums. The "real" version of this question may be found in the "Servlets and JSP" forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!