Topic: applet 与servlet通信问题

  Print this page

1.applet 与servlet通信问题 Copy to clipboard
Posted by: redstarwen
Posted on: 2005-11-07 08:14

我用servlet以文件流的方式向applet传一人ResulSset对象,结果出现如下提示:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.postgresql.jdbc2.Jdbc2ResultSet
  at java.io.ObjectInputStream.readObject0(Unknown Source)
  at java.io.ObjectInputStream.readObject(Unknown Source)
  at main_per.init(main_per.java:54)
  at sun.applet.AppletPanel.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
Caused by: java.io.NotSerializableException: org.postgresql.jdbc2.Jdbc2ResultSet
  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
  at login.doGet(login.java:71)
经过测试,我传一个基本变量成功,请问如何解决?


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923