Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet & Applet  RSS feed

 
PriyaRajan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,
what is the best way to send data from servlet to applet?
Thanks,
Priya
 
Bosun Bello
Ranch Hand
Posts: 1512
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your applet has to create a URLConnection to the URL of the servlet. And then create an input stream to read the output of the servlet.
This has been discussed here a number of times. Use the search facility at the top-right.
------------------
Bosun
SCJP for the Java� 2 Platform
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!