(I think this is off-topic.)

If you are using ASP. You can do it like this:
<% k=0 %>
<applet code=abc.class width=111 height=111>
<% do while not rs.eof %>
<param name="row<%=k%>" value="<%=rs(0)%>|<%=rs(1)%>|....">
<% k=k+1
   rs.movenext
   loop
%>
<param name="separator" value="|">
</applet>

Then you can read them into your applet using getParameter().

Hope this helps.


Dennis Huang

-----Original Message-----
From: Vasu, Paladugu (GEA, 072150) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 08, 2000 12:52 AM
To: [EMAIL PROTECTED]
Subject: Passing the resultset to APPLET


Hi,
We have situation where ASP program gets data from the Database and we want
to pass the result set to the APPLET called in the same page.

We can talk to database directly from APPLET, but  we do not want that.

Is this possible.

Help me out........Vasu

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to