Use applet in jsp page
Hi all,
I'm a newbie in java (and jsp) and i want to use an applet to display pie chart. This applet should be filled up dynamically by a jsp (or other) file: data coming from db.
I don't know if you can do that (it seems, according to threads in jdc, that it's difficult), how can we do that ? Where to put my sources,...
I'm working with jdk 1.2.2 and tomcat 3.2
Hope someone will be able to help me
Thanks in advance
Shamann
[502 byte] By [
jshamann] at [2007-9-26 2:54:17]

Try this:
Assume u have a jsp, extract data from db in jsp.. and pass the data as input to the applet.. that is there in the same jsp... ?
<html>
<%
... all ur db connections or server manipulations goes here.....
String input1= Assing the data u got from db..
String input2
String input3..
%>
<applet code="exapp.class".....>
<param name="p1" value="<%=input1%>"
><param name="p1" value="<%=input2%>"
><param name="p1" value="<%=input3%>"
></applet>
</html>