Java Applet 开始执行后停止
我开发了一个Java Applet,它具有上传多个文件的功能。
目前,三个文件同时上传到服务器。
我面临的问题:
i>在某些情况下,Java Applet 在上传文件时会挂起。我保留了有关线程状态和线程状态的详细日志。在 Http 上传类上,但当 Java Applet 执行卡住/挂起时,没有获得异常跟踪。
使用 Internet Explorer 版本 8 时,Java Applet 经常挂起,而使用 Mozilla Firefox 或 Google Chrome 时,它偶尔会挂起。
浏览器代理设置有时会阻止 Java Applet 吗?
如果是这样,我怎样才能避免或绕过代理设置?
I have developed a Java Applet which has the functionality of uploading multiple files .
Currently , three files while be uploaded to the server simultaneously.
The problem which I faced :
i> On some occassions , the Java Applet hangs while uploading the files. I have kept a detailed log on the Thread state & on the Http upload classes but not getting exception trace on it when the Java Applet execution stucks/hangs.
With Internet Explorer ver 8 , the Java Applet hangs very frequently whereas with Mozilla Firefox or Google Chrome , it hangs occassionally.
Can the browser proxy settings block the Java Applet at times ?
If so , how can I avoid or bypass the proxy settings ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
验证您是否正在使用初始线程 正确。可以在此处找到示例。此命令适用于小程序以及应用程序,并且(未公开的)上传协议中的阻止可能会使问题变得更加复杂。
Verify that you are using Initial Threads correctly. An example may be found here. This mandate applies to applets, as well as applications, and blocking in your (undisclosed) upload protocol likely compounds the problem.