Applet with JDBC - java.security.AccessControlException: access denied

前端 未结 2 1491
长发绾君心
长发绾君心 2021-01-23 06:37
//JDBC using Applet
/*


*/

import javax.swing.*; //JApplet,JLabel,JButton

import java.applet.*; //         


        
2条回答
  •  悲哀的现实
    2021-01-23 07:23

    You won't be able to run JDBC in an applet without taking steps to give the applet appropriate permissions. The topic is covered in detail by this tutorial from Oracle.

提交回复
热议问题