jQuery in Action, 3rd edition
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

Http call from applet

sai pabb

Joined: Sep 01, 2010
Posts: 9

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

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

Joined: Sep 01, 2010
Posts: 9
Awesome.!! thanks a lot!! worked like a charm!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Http call from applet
It's not a secret anymore!