Hi, I have this conceptual applet that represent some info in CDR (call detail record)in a graphical chart. How can i forward the resultset from the servlet to the applet and invoke methods of servlet from the applet. Thanks in advance.
Hi Richard, I assume by "resultset" you mean the "java.sql.ResultSet" interface. If that assumption is true, then, as far as I know, objects transferred from a servlet to an applet must be serializable (i.e. implement the "java.io.Serializable" interface), and a "ResultSet" is not serializable. Therefore, you cannot forward a "ResultSet" from a servlet to an applet. Although I have not used it, and in case you are unaware, you may like to investigate the "CachedRowSet". More information available here: http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html Hope it helps. Good Luck, Avi.
rubbery bacon. crispy tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop