aspose file tools*
The moose likes Applets and the fly likes How does Java treat applets that are called by applets that are called by JavaScript code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "How does Java treat applets that are called by applets that are called by JavaScript code?" Watch "How does Java treat applets that are called by applets that are called by JavaScript code?" New topic
Author

How does Java treat applets that are called by applets that are called by JavaScript code?

Montana Burr
Greenhorn

Joined: May 04, 2014
Posts: 14
The Java applet documentation says than an applet that is run using JavaScript code is always treated as a sandboxed applet, regardless of whether or not the applet is configured to be a privileged applet.

Let's say I have a privileged applet, and this privileged applet has public methods. I also have a sandboxed applet that acts as a liaison between the applet and a JavaScript script. When the sandboxed applet gets called by the JavaScript code, will the privileged applet be treated as a sandboxed applet?
 
 
subject: How does Java treat applets that are called by applets that are called by JavaScript code?