aspose file tools*
The moose likes Applets and the fly likes Http call from applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Http call from applet" Watch "Http call from applet" New topic
Author

Http call from applet

sai pabb
Greenhorn

Joined: Sep 01, 2010
Posts: 9
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

Joined: Oct 14, 2008
Posts: 1337
You need to read from the InputStream, otherwise the call won't be made. Yes, it's counter-intuitive.
sai pabb
Greenhorn

Joined: Sep 01, 2010
Posts: 9
Awesome.!! thanks a lot!! worked like a charm!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Http call from applet