applet从后台下载数据的问题?
applet通过以下代码从后台下载数据
- Java code
URLConnection con = new URL("","").openConnection();ObjectInputStream ois = new ObjectInputStream(con.getInputStream());Object obj = ois.readObject();请问,在以上代码中,下载数据是从什么时候开始的
[解决办法]
ObjectInputStream ois = new ObjectInputStream(con.getInputStream());应该从这句开始的吧,
[解决办法]
Object obj = ois.readObject();