• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Http call from applet

 
sai pabb
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm calling srvlet from an applet using the following code. I've kept a debugger on the srvlet which is expecting the call. When the call is fired, no call came to the server. When I ran the same through the normal browser it is working. Should I run the applet from the browser to make a server call? or can I run the applet by clickin on the run button in the eclipse and make a server call from here?


 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to read from the InputStream, otherwise the call won't be made. Yes, it's counter-intuitive.
 
sai pabb
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Awesome.!! thanks a lot!! worked like a charm!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic