well done guys.All r doing a good job.
I have a problem in connecting the servlet with the database(Interbase).When I load the servlet it connect the database and display a form.If I run it in the browser it is fine;Working as expected.But if I try to load the SAME servlet simultaneously in 2 browsers the 1 browser displays.Other browser doesn't(it is stuck with an error message).
Why it is so?Therafter I synchronized the method(doget) in the servlet and tried.It is working for simultaneous access.(but there is a time interval in loading the reply in the browser since I have synchronized the servlet).
I know one thing for sure.That is no problem in creating connections by the database bcos I tried with two DIFFERENT servlet simultaneously.It is loading the output in the browser.
Please somone help me.
[This message has been edited by sukathis_1 (edited November 20, 2000).]
I have a problem in connecting the servlet with the database(Interbase).When I load the servlet it connect the database and display a form.If I run it in the browser it is fine;Working as expected.But if I try to load the SAME servlet simultaneously in 2 browsers the 1 browser displays.Other browser doesn't(it is stuck with an error message).
Why it is so?Therafter I synchronized the method(doget) in the servlet and tried.It is working for simultaneous access.(but there is a time interval in loading the reply in the browser since I have synchronized the servlet).
I know one thing for sure.That is no problem in creating connections by the database bcos I tried with two DIFFERENT servlet simultaneously.It is loading the output in the browser.
Please somone help me.
[This message has been edited by sukathis_1 (edited November 20, 2000).]