大家好,在登陆一个网页之前,会输入一个用户名和密码,但是网页在嵌入Applet时,JVM又会弹出一个框要求填写用户名密码。这个问题在
http://topic.csdn.net/u/20110808/14/a8965ec9-6028-4f56-a936-5eb2efe6bfb3.html这个帖子问过,但是目前还未解决,现在提取出了一些调试信息,希望知道大侠们能给给意见。
下面就是加载Applet过程中打印的调试信息,关键的一条信息已经用红色字体标出。:
basic: 已添加进度监听程序:sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@18e2b22
network: 未找到高速缓存项 [url: http://192.168.100.8/test/test/,版本: null]
network: 找到了高速缓存项 [url: http://192.168.100.8/test/test/AppletTest.class,版本: null] prevalidated=false/0
network: 正在使用代理 DIRECT 连接 http://192.168.100.8/test/test/AppletTest.class
network: 正在使用代理 DIRECT 连接 http://192.168.100.8:80/
network: Firewall authentication: site=/192.168.100.8:80, protocol=http, prompt=GoAhead, scheme=basic
network: 正在使用代理 DIRECT 连接 http://192.168.100.8/test/test/AppletTest.class
network: 正在使用代理 DIRECT 连接 http://192.168.100.8:80/
network: http://192.168.100.8/test/test/AppletTest.class 的响应代码: 200
network: http://192.168.100.8/test/test/AppletTest.class 的编码: null
network: 断开与 http://192.168.100.8/test/test/AppletTest.class 的连接
network: 未找到高速缓存项 [url: http://192.168.100.8/test/test/,版本: null]
basic: 小程序已载入。
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 506775 us, pluginInit dt 1069668 us, TotalTime: 1576443 us
这个信息在Firefox和IE上都会出现,但是IE会自己识别,而Firefox却会弹出一个框,等待输入用户名/密码,如果不输入就会打印找不到该class文件。 有没有办法让firefox也能自动识别呢?
network: Firewall authentication: site=/192.168.100.8:80, protocol=http, prompt=GoAhead, scheme=basic
关于这个输出也觉得很奇怪,因为服务器并没有启动防火墙,为什么会有防火墙的认证呢?