Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet Servlet communication

 
Nipinder Kahlon
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I am trying to invoke a doGet() in my servlet and send some parameters. Here's the code
 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you try to make an http-tunneling i guess you have to run another code on your server side.
to call doGet you can use
getAppletContext().showDocument(new URL("http://blablabla"));
in your applet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic