Hi Everybody,
I want to read a configuration file from my Jsp application but I am
having problems that I suspect are due to concurrent access to this
file by multiple instances of the application.
Does anybody know how to avoid conflicts? Will putting the code
in a method that is declared synchronised solve the problem and
guarantee safety? When two instances of a synchronised method
(belonging to the same class) are executing, does the servlet engine
detect and coordinate their execution?
Thanks for any hints or solutions,
Jamel Tayeb
Software Engineer,
MedSoft.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets