Hi all,
I wonder if I can send parameters to an applet from within a servlet. What I
try to do is:
I have an applet that draws a line chart using the 12 parameters it gets.
>From within a servlet, I call data from a database that
I want give as applet parameters. I think (but not tried and not sure) that
the following will work.
String par1 = rs.getString("Jan");
.
.
String par12 = rs.getString("Dec");
PrintWriter out = res.getWriter();
out.println("<APPLET code='DrawGraph' width=100 height=100>");
out.println("<PARAM ....");
.
.
.
out.println("</APPLET>");
Am I wrong! I haven't tried this yet. Is there an another way to do this?
Thanks for your suggestions!
Ahmet G�nes
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html