• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sending data to applets

 
Graziani Gabriele
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i've a problem
i've a servlet that creates a web-page where i include a call to an applet using out.print(<applet .. name.class ..></applet>
I'd like to pass data from the servlet to that applet, and then i want the applet to draw the data just passed.
How can i make it?
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just do what you're already doing but also do something like this:
out.print("<PARAM NAME=x VALUE =y>");
Brian
 
george franciscus
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<Applet class="cdcdc">
<param name="x" value"y">
</applet>

in applet u can read these parameters..check some applet book for more information..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic