Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Aditya Singh
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!