This discussion is archived
1 Reply Latest reply: May 31, 2012 9:05 AM by morgalr RSS

Communication between website and Applet

856137 Newbie
Currently Being Moderated
Hi,

I have a question..maybe a dumb one , but can't find any relevant information, or i'm just using the wrong keywords in my search.

I've created an Applet that does a looot of things, and one of them is the possibility to load files inside a web repository.

What I do know that's possible, is to load the repository from the applet. My objective is create some button that loads a new page/tab with the webrepository's website showing the list of the files.
What I don't know if it's possible, is to create some action in my webrepository (like some button javascript, or in another language) that can send the content back to the applet. (for example, clicking a file that automatically opens back the tab with the applet, showing the contents of the file)

Can please someone help in this question?

Thanks!
  • 1. Re: Communication between website and Applet
    morgalr Explorer
    Currently Being Moderated
    You have to have your applet or application talk to a servlet (application running on the server) and request that be done. You cannot force it to be done from an applet, you have to request it from the server. In otherwords, you have to have permission to code on both the client and server side and have your code running on the server side so your client code (applet) can make the request.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points