“access denied” when using JDBC from a browser applet

后端 未结 2 1014
一整个雨季
一整个雨季 2021-01-27 18:12

I have a java applet that queries an Oracle database for data. When run from inside an IDE, it functions just fine. But when I run it as an applet embedded in a webpage, I get a

2条回答
  •  抹茶落季
    2021-01-27 18:36

    Note that if you follow the advice of BalusC and hide the DB behind a an active page (e.g. a servlet, PHP, ASP etc.) that is on the same server as the applet, the applet could most probably remain sand-boxed. It would be the active page that is trying to access class-loaders (as well as the DB).

提交回复
热议问题