This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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).
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’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: Problem in Applet when talking to Servlet which communicate to remote server
 
It's not a secret anymore!