aspose file tools*
The moose likes Applets and the fly likes Problem in Applet when talking to Servlet which communicate to remote server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Problem in Applet when talking to Servlet which communicate to remote server" Watch "Problem in Applet when talking to Servlet which communicate to remote server" New topic
Author

Problem in Applet when talking to Servlet which communicate to remote server

Aditya Singh
Ranch Hand

Joined: Mar 06, 2008
Posts: 62
Hi,

I have an applet communicating to a servlet. this servlet will communicate to remote server. problem here is, if servlet communicate to remote server then applet is not allowed to communicate with it else it allows.

I know applet has many restriction but is this restriction also there?

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39551
    
  27
No. The applet is allowed to access the server where it originates. What that server does is irrelevant (and can't be known by the browser anyway).


Ping & DNS - updated with new look and Ping home screen widget
Aditya Singh
Ranch Hand

Joined: Mar 06, 2008
Posts: 62
Hi Ulf,

Thanks for reply.

I too expected same and now its working. There was some problem in connection with other server. Thanks.

Regards,
Aditya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Applet when talking to Servlet which communicate to remote server
 
Similar Threads
A web interface to a small java application
Is there any way to call servlet?
Applet-CGI file i/o -- Please Help!!?
Connecting to a remote servlet from an unsigned applet
ejb for server to erver communication