Hi, I've checked again my applet and ensured that I'm calling openConnection each time.
However, I've discovered that when I'm running this applet using java-plugin it works well(all the servelt requests are called simoulatnously). Nevertheless, I still would like it to work without the plug-in. Does anybody have something close that works without the plugin ? I'd really appreciate your help. Tnx, Tamir -----Original Message----- From: Toru Watanabe [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 3:22 AM To: Tomcat Users List Subject: Re: applet to servlet problem tamir> java.io.InputStreamReader is = new tamir> java.io.InputStreamReader(con.getInputStream()); ^^^ Do each thread uses their own con? each thread must create URLConection newly inside run() if each thread need to connect to server in the same time. regards, Watanabe. In the message "applet to servlet problem" <D054B0637615D611967000D0B78059CB0254F4@IBM3000> tamir <[EMAIL PROTECTED]> wrote: tamir> Hello everybody, tamir> I'm quite sure it's not tomcat problem, however, I give it a shot, mainly tamir> because I know all the people here tamir> usually have great ideas... tamir> I'm using tomcat 3.3.1b. tamir> I've an applet that runs several threads. Each thread calls to the server tamir> using URLConnection. tamir> Everything works fine, however, only 2-3 threads can simoulantously achieve tamir> the tamir> server, and the rest are waiting. When one thread finishes, the other one tamir> can connect the server. tamir> The "stuck" command is: tamir> java.io.InputStreamReader is = new tamir> java.io.InputStreamReader(con.getInputStream()); tamir> I'm using the Applet tag to run my applet. tamir> Do you have any clues for me ? tamir> Best regards, tamir> Tamir tamir> -- tamir> To unsubscribe: <mailto:[EMAIL PROTECTED]> tamir> For additional commands: <mailto:[EMAIL PROTECTED]> tamir> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
