ResultSet rs = ... your query
ServletOutputStream out = request.get......
while (rs.next()) { out.println(rs.getString(1)); }
rs.close();
I have done all of this automatically with a PowerJ visual class, so
I haven't seen the details of the connection and query execution, but I
think that are exactly the same as in any applet/application.
And there are two newsgroups dedicated to jConnect at:
news://forums.sybase.com/sybase.public.jconnect40
and
news://forums.sybase.com/sybase.public.jconnect50
HTH,
danim
Nelson wrote:
Anyone has worked with the jConnect JDBC driver inside an servlet. I'd like to see some sample code.Is there a more appropriate maillist to post this question? I haven't found any about JDBC! Thanks,Nelson Ponce
