由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Re: Why my url can not open a connection to my servlet in a web browse
相关主题
请教:AXIS 1.4 webservice client using a proxyRe: 初级问题
Re: 关于APPLET的IO问题Re: How to use abstract class?
PersonalJava and Http tunnelingRe: question
新手请教一个问题Re: 如何在两个窗口之间通信?
看了zhaoce073大水忍不住说2句Java interview Question(31-50)
由一个Java Bug谈起Core Java2 Notes (4)
急问:怎么kill一个thread, thread.interrupte()不好用呀?问题征解
Core Java2 Notes (2)菜鸟问题
相关话题的讨论汇总
话题: url话题: why话题: problem话题: my话题: browse
进入Java版参与讨论
1 (共1页)
m*****e
发帖数: 126
1
Hi, I think you guys might not focus on the right problem. The
problem may have nothing to do with the security constaints on applet.
From the error message, it is clear that a cast failed. Depend on
the implemetation of the Virtual Machine, the URL's openConnection
method might return something different, which can not be casted to
HttpURLConnection. I suggest you use the abstract class URLConnection
instead of the subclass. It may solve the problem.
1 (共1页)
进入Java版参与讨论
相关主题
菜鸟问题看了zhaoce073大水忍不住说2句
请问protected的使用由一个Java Bug谈起
what's inside an java object?急问:怎么kill一个thread, thread.interrupte()不好用呀?
[合集] Java interview question, Thanks.Core Java2 Notes (2)
请教:AXIS 1.4 webservice client using a proxyRe: 初级问题
Re: 关于APPLET的IO问题Re: How to use abstract class?
PersonalJava and Http tunnelingRe: question
新手请教一个问题Re: 如何在两个窗口之间通信?
相关话题的讨论汇总
话题: url话题: why话题: problem话题: my话题: browse