This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41082
    
  43
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 - my free Android networking tools app
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
Is there any way to call servlet?
ejb for server to erver communication
Applet-CGI file i/o -- Please Help!!?
A web interface to a small java application
Connecting to a remote servlet from an unsigned applet